From e2d966e089bf8e743dbfc83af8ef3b37a0f4c83d Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Tue, 11 Apr 2023 06:48:04 -0700 Subject: [PATCH] feat: run the generator (#3211) * fix(admin): update the API #### admin:directory_v1 The following keys were changed: - schemas.DirectoryChromeosdevicesCommand.properties.type.enumDescriptions - schemas.DirectoryChromeosdevicesIssueCommandRequest.properties.commandType.enumDescriptions - schemas.RoleAssignment.properties.assignedTo.description - schemas.User.description #### admin:reports_v1 The following keys were changed: - schemas.Channel.properties.payload.description * fix(analyticsadmin): update the API #### analyticsadmin:v1alpha The following keys were changed: - resources.properties.resources.expandedDataSets.methods.get.parameters.name.description - schemas.GoogleAnalyticsAdminV1alphaCustomDimension.properties.parameterName.description - schemas.GoogleAnalyticsAdminV1alphaCustomDimension.properties.scope.enum - schemas.GoogleAnalyticsAdminV1alphaCustomDimension.properties.scope.enumDescriptions #### analyticsadmin:v1beta The following keys were changed: - schemas.GoogleAnalyticsAdminV1betaCustomDimension.properties.parameterName.description - schemas.GoogleAnalyticsAdminV1betaCustomDimension.properties.scope.enum - schemas.GoogleAnalyticsAdminV1betaCustomDimension.properties.scope.enumDescriptions * feat(compute): update the API #### compute:beta The following keys were added: - schemas.AttachedDiskInitializeParams.properties.replicaZones.description - schemas.AttachedDiskInitializeParams.properties.replicaZones.items.type - schemas.AttachedDiskInitializeParams.properties.replicaZones.type - schemas.RouterNat.properties.autoNetworkTier.description - schemas.RouterNat.properties.autoNetworkTier.enum - schemas.RouterNat.properties.autoNetworkTier.enumDescriptions - schemas.RouterNat.properties.autoNetworkTier.type The following keys were changed: - schemas.ForwardingRule.properties.network.description - schemas.NetworkAttachmentConnectedEndpoint.properties.secondaryIpCidrRanges.description - schemas.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.description - schemas.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.properties.enable.description - schemas.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.properties.ruleVisibility.description - schemas.SecurityPolicyRecaptchaOptionsConfig.properties.redirectSiteKey.description - schemas.SecurityPolicyRule.properties.action.description - schemas.SecurityPolicyRule.properties.headerAction.description - schemas.SecurityPolicyRule.properties.redirectOptions.description - schemas.SecurityPolicyRuleMatcher.properties.expr.description - schemas.SecurityPolicyRuleRateLimitOptions.properties.exceedAction.description - schemas.SecurityPolicyRuleRateLimitOptions.properties.exceedRedirectOptions.description * feat(connectors): update the API #### connectors:v1 The following keys were added: - schemas.AuthConfig.properties.oauth2AuthCodeFlow.$ref - schemas.AuthConfig.properties.oauth2AuthCodeFlow.description - schemas.Connection.properties.logConfig.$ref - schemas.Connection.properties.logConfig.description - schemas.ConnectorVersion.properties.destinationConfigTemplates.description - schemas.ConnectorVersion.properties.destinationConfigTemplates.items.$ref - schemas.ConnectorVersion.properties.destinationConfigTemplates.readOnly - schemas.ConnectorVersion.properties.destinationConfigTemplates.type - schemas.ConnectorsLogConfig.description - schemas.ConnectorsLogConfig.id - schemas.ConnectorsLogConfig.properties.enabled.description - schemas.ConnectorsLogConfig.properties.enabled.type - schemas.ConnectorsLogConfig.type - schemas.DestinationConfigTemplate.description - schemas.DestinationConfigTemplate.id - schemas.DestinationConfigTemplate.properties.defaultPort.description - schemas.DestinationConfigTemplate.properties.defaultPort.format - schemas.DestinationConfigTemplate.properties.defaultPort.type - schemas.DestinationConfigTemplate.properties.description.description - schemas.DestinationConfigTemplate.properties.description.type - schemas.DestinationConfigTemplate.properties.displayName.description - schemas.DestinationConfigTemplate.properties.displayName.type - schemas.DestinationConfigTemplate.properties.isAdvanced.description - schemas.DestinationConfigTemplate.properties.isAdvanced.type - schemas.DestinationConfigTemplate.properties.key.description - schemas.DestinationConfigTemplate.properties.key.type - schemas.DestinationConfigTemplate.properties.max.description - schemas.DestinationConfigTemplate.properties.max.format - schemas.DestinationConfigTemplate.properties.max.type - schemas.DestinationConfigTemplate.properties.min.description - schemas.DestinationConfigTemplate.properties.min.format - schemas.DestinationConfigTemplate.properties.min.type - schemas.DestinationConfigTemplate.properties.portFieldType.description - schemas.DestinationConfigTemplate.properties.portFieldType.enum - schemas.DestinationConfigTemplate.properties.portFieldType.enumDescriptions - schemas.DestinationConfigTemplate.properties.portFieldType.type - schemas.DestinationConfigTemplate.properties.regexPattern.description - schemas.DestinationConfigTemplate.properties.regexPattern.type - schemas.DestinationConfigTemplate.type - schemas.Oauth2AuthCodeFlow.description - schemas.Oauth2AuthCodeFlow.id - schemas.Oauth2AuthCodeFlow.properties.authCode.description - schemas.Oauth2AuthCodeFlow.properties.authCode.type - schemas.Oauth2AuthCodeFlow.properties.clientId.description - schemas.Oauth2AuthCodeFlow.properties.clientId.type - schemas.Oauth2AuthCodeFlow.properties.clientSecret.$ref - schemas.Oauth2AuthCodeFlow.properties.clientSecret.description - schemas.Oauth2AuthCodeFlow.properties.enablePkce.description - schemas.Oauth2AuthCodeFlow.properties.enablePkce.type - schemas.Oauth2AuthCodeFlow.properties.pkceVerifier.description - schemas.Oauth2AuthCodeFlow.properties.pkceVerifier.type - schemas.Oauth2AuthCodeFlow.properties.redirectUri.description - schemas.Oauth2AuthCodeFlow.properties.redirectUri.type - schemas.Oauth2AuthCodeFlow.properties.scopes.description - schemas.Oauth2AuthCodeFlow.properties.scopes.items.type - schemas.Oauth2AuthCodeFlow.properties.scopes.type - schemas.Oauth2AuthCodeFlow.type * fix(datacatalog): update the API #### datacatalog:v1beta1 The following keys were changed: - schemas.GoogleCloudDatacatalogV1TaggedEntry.properties.absentTags.description - schemas.GoogleCloudDatacatalogV1TaggedEntry.properties.presentTags.description #### datacatalog:v1 The following keys were changed: - schemas.GoogleCloudDatacatalogV1TaggedEntry.properties.absentTags.description - schemas.GoogleCloudDatacatalogV1TaggedEntry.properties.presentTags.description * fix(displayvideo): update the API #### displayvideo:v1 The following keys were changed: - schemas.Asset.properties.mediaId.description - schemas.AssetAssociation.properties.role.enumDescriptions - schemas.Creative.properties.additionalDimensions.description - schemas.Creative.properties.assets.description - schemas.Creative.properties.cmTrackingAd.description - schemas.Creative.properties.creativeType.enumDescriptions - schemas.Creative.properties.dimensions.description - schemas.Creative.properties.hostingSource.enumDescriptions - schemas.Creative.properties.jsTrackerUrl.description - schemas.Creative.properties.trackerUrls.description - schemas.CreativeConfig.properties.creativeType.enumDescriptions #### displayvideo:v2 The following keys were changed: - schemas.Asset.properties.mediaId.description - schemas.AssetAssociation.properties.role.enumDescriptions - schemas.Creative.properties.additionalDimensions.description - schemas.Creative.properties.assets.description - schemas.Creative.properties.cmTrackingAd.description - schemas.Creative.properties.creativeType.enumDescriptions - schemas.Creative.properties.dimensions.description - schemas.Creative.properties.hostingSource.enumDescriptions - schemas.Creative.properties.jsTrackerUrl.description - schemas.Creative.properties.trackerUrls.description - schemas.CreativeConfig.properties.creativeType.enumDescriptions * feat(networkservices)!: update the API BREAKING CHANGE: This release has breaking changes. #### networkservices:v1 The following keys were deleted: - resources.projects.resources.locations.resources.multicastConsumerAssociations.methods.getIamPolicy.description - resources.projects.resources.locations.resources.multicastConsumerAssociations.methods.getIamPolicy.flatPath - resources.projects.resources.locations.resources.multicastConsumerAssociations.methods.getIamPolicy.httpMethod - resources.projects.resources.locations.resources.multicastConsumerAssociations.methods.getIamPolicy.id - resources.projects.resources.locations.resources.multicastConsumerAssociations.methods.getIamPolicy.parameterOrder - resources.projects.resources.locations.resources.multicastConsumerAssociations.methods.getIamPolicy.parameters.options.requestedPolicyVersion.description - resources.projects.resources.locations.resources.multicastConsumerAssociations.methods.getIamPolicy.parameters.options.requestedPolicyVersion.format - resources.projects.resources.locations.resources.multicastConsumerAssociations.methods.getIamPolicy.parameters.options.requestedPolicyVersion.location - resources.projects.resources.locations.resources.multicastConsumerAssociations.methods.getIamPolicy.parameters.options.requestedPolicyVersion.type - resources.projects.resources.locations.resources.multicastConsumerAssociations.methods.getIamPolicy.parameters.resource.description - resources.projects.resources.locations.resources.multicastConsumerAssociations.methods.getIamPolicy.parameters.resource.location - resources.projects.resources.locations.resources.multicastConsumerAssociations.methods.getIamPolicy.parameters.resource.pattern - resources.projects.resources.locations.resources.multicastConsumerAssociations.methods.getIamPolicy.parameters.resource.required - resources.projects.resources.locations.resources.multicastConsumerAssociations.methods.getIamPolicy.parameters.resource.type - resources.projects.resources.locations.resources.multicastConsumerAssociations.methods.getIamPolicy.path - resources.projects.resources.locations.resources.multicastConsumerAssociations.methods.getIamPolicy.response.$ref - resources.projects.resources.locations.resources.multicastConsumerAssociations.methods.getIamPolicy.scopes - resources.projects.resources.locations.resources.multicastConsumerAssociations.methods.setIamPolicy.description - resources.projects.resources.locations.resources.multicastConsumerAssociations.methods.setIamPolicy.flatPath - resources.projects.resources.locations.resources.multicastConsumerAssociations.methods.setIamPolicy.httpMethod - resources.projects.resources.locations.resources.multicastConsumerAssociations.methods.setIamPolicy.id - resources.projects.resources.locations.resources.multicastConsumerAssociations.methods.setIamPolicy.parameterOrder - resources.projects.resources.locations.resources.multicastConsumerAssociations.methods.setIamPolicy.parameters.resource.description - resources.projects.resources.locations.resources.multicastConsumerAssociations.methods.setIamPolicy.parameters.resource.location - resources.projects.resources.locations.resources.multicastConsumerAssociations.methods.setIamPolicy.parameters.resource.pattern - resources.projects.resources.locations.resources.multicastConsumerAssociations.methods.setIamPolicy.parameters.resource.required - resources.projects.resources.locations.resources.multicastConsumerAssociations.methods.setIamPolicy.parameters.resource.type - resources.projects.resources.locations.resources.multicastConsumerAssociations.methods.setIamPolicy.path - resources.projects.resources.locations.resources.multicastConsumerAssociations.methods.setIamPolicy.request.$ref - resources.projects.resources.locations.resources.multicastConsumerAssociations.methods.setIamPolicy.response.$ref - resources.projects.resources.locations.resources.multicastConsumerAssociations.methods.setIamPolicy.scopes - resources.projects.resources.locations.resources.multicastConsumerAssociations.methods.testIamPermissions.description - resources.projects.resources.locations.resources.multicastConsumerAssociations.methods.testIamPermissions.flatPath - resources.projects.resources.locations.resources.multicastConsumerAssociations.methods.testIamPermissions.httpMethod - resources.projects.resources.locations.resources.multicastConsumerAssociations.methods.testIamPermissions.id - resources.projects.resources.locations.resources.multicastConsumerAssociations.methods.testIamPermissions.parameterOrder - resources.projects.resources.locations.resources.multicastConsumerAssociations.methods.testIamPermissions.parameters.resource.description - resources.projects.resources.locations.resources.multicastConsumerAssociations.methods.testIamPermissions.parameters.resource.location - resources.projects.resources.locations.resources.multicastConsumerAssociations.methods.testIamPermissions.parameters.resource.pattern - resources.projects.resources.locations.resources.multicastConsumerAssociations.methods.testIamPermissions.parameters.resource.required - resources.projects.resources.locations.resources.multicastConsumerAssociations.methods.testIamPermissions.parameters.resource.type - resources.projects.resources.locations.resources.multicastConsumerAssociations.methods.testIamPermissions.path - resources.projects.resources.locations.resources.multicastConsumerAssociations.methods.testIamPermissions.request.$ref - resources.projects.resources.locations.resources.multicastConsumerAssociations.methods.testIamPermissions.response.$ref - resources.projects.resources.locations.resources.multicastConsumerAssociations.methods.testIamPermissions.scopes - resources.projects.resources.locations.resources.multicastDomainActivations.methods.getIamPolicy.description - resources.projects.resources.locations.resources.multicastDomainActivations.methods.getIamPolicy.flatPath - resources.projects.resources.locations.resources.multicastDomainActivations.methods.getIamPolicy.httpMethod - resources.projects.resources.locations.resources.multicastDomainActivations.methods.getIamPolicy.id - resources.projects.resources.locations.resources.multicastDomainActivations.methods.getIamPolicy.parameterOrder - resources.projects.resources.locations.resources.multicastDomainActivations.methods.getIamPolicy.parameters.options.requestedPolicyVersion.description - resources.projects.resources.locations.resources.multicastDomainActivations.methods.getIamPolicy.parameters.options.requestedPolicyVersion.format - resources.projects.resources.locations.resources.multicastDomainActivations.methods.getIamPolicy.parameters.options.requestedPolicyVersion.location - resources.projects.resources.locations.resources.multicastDomainActivations.methods.getIamPolicy.parameters.options.requestedPolicyVersion.type - resources.projects.resources.locations.resources.multicastDomainActivations.methods.getIamPolicy.parameters.resource.description - resources.projects.resources.locations.resources.multicastDomainActivations.methods.getIamPolicy.parameters.resource.location - resources.projects.resources.locations.resources.multicastDomainActivations.methods.getIamPolicy.parameters.resource.pattern - resources.projects.resources.locations.resources.multicastDomainActivations.methods.getIamPolicy.parameters.resource.required - resources.projects.resources.locations.resources.multicastDomainActivations.methods.getIamPolicy.parameters.resource.type - resources.projects.resources.locations.resources.multicastDomainActivations.methods.getIamPolicy.path - resources.projects.resources.locations.resources.multicastDomainActivations.methods.getIamPolicy.response.$ref - resources.projects.resources.locations.resources.multicastDomainActivations.methods.getIamPolicy.scopes - resources.projects.resources.locations.resources.multicastDomainActivations.methods.setIamPolicy.description - resources.projects.resources.locations.resources.multicastDomainActivations.methods.setIamPolicy.flatPath - resources.projects.resources.locations.resources.multicastDomainActivations.methods.setIamPolicy.httpMethod - resources.projects.resources.locations.resources.multicastDomainActivations.methods.setIamPolicy.id - resources.projects.resources.locations.resources.multicastDomainActivations.methods.setIamPolicy.parameterOrder - resources.projects.resources.locations.resources.multicastDomainActivations.methods.setIamPolicy.parameters.resource.description - resources.projects.resources.locations.resources.multicastDomainActivations.methods.setIamPolicy.parameters.resource.location - resources.projects.resources.locations.resources.multicastDomainActivations.methods.setIamPolicy.parameters.resource.pattern - resources.projects.resources.locations.resources.multicastDomainActivations.methods.setIamPolicy.parameters.resource.required - resources.projects.resources.locations.resources.multicastDomainActivations.methods.setIamPolicy.parameters.resource.type - resources.projects.resources.locations.resources.multicastDomainActivations.methods.setIamPolicy.path - resources.projects.resources.locations.resources.multicastDomainActivations.methods.setIamPolicy.request.$ref - resources.projects.resources.locations.resources.multicastDomainActivations.methods.setIamPolicy.response.$ref - resources.projects.resources.locations.resources.multicastDomainActivations.methods.setIamPolicy.scopes - resources.projects.resources.locations.resources.multicastDomainActivations.methods.testIamPermissions.description - resources.projects.resources.locations.resources.multicastDomainActivations.methods.testIamPermissions.flatPath - resources.projects.resources.locations.resources.multicastDomainActivations.methods.testIamPermissions.httpMethod - resources.projects.resources.locations.resources.multicastDomainActivations.methods.testIamPermissions.id - resources.projects.resources.locations.resources.multicastDomainActivations.methods.testIamPermissions.parameterOrder - resources.projects.resources.locations.resources.multicastDomainActivations.methods.testIamPermissions.parameters.resource.description - resources.projects.resources.locations.resources.multicastDomainActivations.methods.testIamPermissions.parameters.resource.location - resources.projects.resources.locations.resources.multicastDomainActivations.methods.testIamPermissions.parameters.resource.pattern - resources.projects.resources.locations.resources.multicastDomainActivations.methods.testIamPermissions.parameters.resource.required - resources.projects.resources.locations.resources.multicastDomainActivations.methods.testIamPermissions.parameters.resource.type - resources.projects.resources.locations.resources.multicastDomainActivations.methods.testIamPermissions.path - resources.projects.resources.locations.resources.multicastDomainActivations.methods.testIamPermissions.request.$ref - resources.projects.resources.locations.resources.multicastDomainActivations.methods.testIamPermissions.response.$ref - resources.projects.resources.locations.resources.multicastDomainActivations.methods.testIamPermissions.scopes - resources.projects.resources.locations.resources.multicastDomains.methods.getIamPolicy.description - resources.projects.resources.locations.resources.multicastDomains.methods.getIamPolicy.flatPath - resources.projects.resources.locations.resources.multicastDomains.methods.getIamPolicy.httpMethod - resources.projects.resources.locations.resources.multicastDomains.methods.getIamPolicy.id - resources.projects.resources.locations.resources.multicastDomains.methods.getIamPolicy.parameterOrder - resources.projects.resources.locations.resources.multicastDomains.methods.getIamPolicy.parameters.options.requestedPolicyVersion.description - resources.projects.resources.locations.resources.multicastDomains.methods.getIamPolicy.parameters.options.requestedPolicyVersion.format - resources.projects.resources.locations.resources.multicastDomains.methods.getIamPolicy.parameters.options.requestedPolicyVersion.location - resources.projects.resources.locations.resources.multicastDomains.methods.getIamPolicy.parameters.options.requestedPolicyVersion.type - resources.projects.resources.locations.resources.multicastDomains.methods.getIamPolicy.parameters.resource.description - resources.projects.resources.locations.resources.multicastDomains.methods.getIamPolicy.parameters.resource.location - resources.projects.resources.locations.resources.multicastDomains.methods.getIamPolicy.parameters.resource.pattern - resources.projects.resources.locations.resources.multicastDomains.methods.getIamPolicy.parameters.resource.required - resources.projects.resources.locations.resources.multicastDomains.methods.getIamPolicy.parameters.resource.type - resources.projects.resources.locations.resources.multicastDomains.methods.getIamPolicy.path - resources.projects.resources.locations.resources.multicastDomains.methods.getIamPolicy.response.$ref - resources.projects.resources.locations.resources.multicastDomains.methods.getIamPolicy.scopes - resources.projects.resources.locations.resources.multicastDomains.methods.setIamPolicy.description - resources.projects.resources.locations.resources.multicastDomains.methods.setIamPolicy.flatPath - resources.projects.resources.locations.resources.multicastDomains.methods.setIamPolicy.httpMethod - resources.projects.resources.locations.resources.multicastDomains.methods.setIamPolicy.id - resources.projects.resources.locations.resources.multicastDomains.methods.setIamPolicy.parameterOrder - resources.projects.resources.locations.resources.multicastDomains.methods.setIamPolicy.parameters.resource.description - resources.projects.resources.locations.resources.multicastDomains.methods.setIamPolicy.parameters.resource.location - resources.projects.resources.locations.resources.multicastDomains.methods.setIamPolicy.parameters.resource.pattern - resources.projects.resources.locations.resources.multicastDomains.methods.setIamPolicy.parameters.resource.required - resources.projects.resources.locations.resources.multicastDomains.methods.setIamPolicy.parameters.resource.type - resources.projects.resources.locations.resources.multicastDomains.methods.setIamPolicy.path - resources.projects.resources.locations.resources.multicastDomains.methods.setIamPolicy.request.$ref - resources.projects.resources.locations.resources.multicastDomains.methods.setIamPolicy.response.$ref - resources.projects.resources.locations.resources.multicastDomains.methods.setIamPolicy.scopes - resources.projects.resources.locations.resources.multicastDomains.methods.testIamPermissions.description - resources.projects.resources.locations.resources.multicastDomains.methods.testIamPermissions.flatPath - resources.projects.resources.locations.resources.multicastDomains.methods.testIamPermissions.httpMethod - resources.projects.resources.locations.resources.multicastDomains.methods.testIamPermissions.id - resources.projects.resources.locations.resources.multicastDomains.methods.testIamPermissions.parameterOrder - resources.projects.resources.locations.resources.multicastDomains.methods.testIamPermissions.parameters.resource.description - resources.projects.resources.locations.resources.multicastDomains.methods.testIamPermissions.parameters.resource.location - resources.projects.resources.locations.resources.multicastDomains.methods.testIamPermissions.parameters.resource.pattern - resources.projects.resources.locations.resources.multicastDomains.methods.testIamPermissions.parameters.resource.required - resources.projects.resources.locations.resources.multicastDomains.methods.testIamPermissions.parameters.resource.type - resources.projects.resources.locations.resources.multicastDomains.methods.testIamPermissions.path - resources.projects.resources.locations.resources.multicastDomains.methods.testIamPermissions.request.$ref - resources.projects.resources.locations.resources.multicastDomains.methods.testIamPermissions.response.$ref - resources.projects.resources.locations.resources.multicastDomains.methods.testIamPermissions.scopes - resources.projects.resources.locations.resources.multicastGroupDefinitions.methods.getIamPolicy.description - resources.projects.resources.locations.resources.multicastGroupDefinitions.methods.getIamPolicy.flatPath - resources.projects.resources.locations.resources.multicastGroupDefinitions.methods.getIamPolicy.httpMethod - resources.projects.resources.locations.resources.multicastGroupDefinitions.methods.getIamPolicy.id - resources.projects.resources.locations.resources.multicastGroupDefinitions.methods.getIamPolicy.parameterOrder - resources.projects.resources.locations.resources.multicastGroupDefinitions.methods.getIamPolicy.parameters.options.requestedPolicyVersion.description - resources.projects.resources.locations.resources.multicastGroupDefinitions.methods.getIamPolicy.parameters.options.requestedPolicyVersion.format - resources.projects.resources.locations.resources.multicastGroupDefinitions.methods.getIamPolicy.parameters.options.requestedPolicyVersion.location - resources.projects.resources.locations.resources.multicastGroupDefinitions.methods.getIamPolicy.parameters.options.requestedPolicyVersion.type - resources.projects.resources.locations.resources.multicastGroupDefinitions.methods.getIamPolicy.parameters.resource.description - resources.projects.resources.locations.resources.multicastGroupDefinitions.methods.getIamPolicy.parameters.resource.location - resources.projects.resources.locations.resources.multicastGroupDefinitions.methods.getIamPolicy.parameters.resource.pattern - resources.projects.resources.locations.resources.multicastGroupDefinitions.methods.getIamPolicy.parameters.resource.required - resources.projects.resources.locations.resources.multicastGroupDefinitions.methods.getIamPolicy.parameters.resource.type - resources.projects.resources.locations.resources.multicastGroupDefinitions.methods.getIamPolicy.path - resources.projects.resources.locations.resources.multicastGroupDefinitions.methods.getIamPolicy.response.$ref - resources.projects.resources.locations.resources.multicastGroupDefinitions.methods.getIamPolicy.scopes - resources.projects.resources.locations.resources.multicastGroupDefinitions.methods.setIamPolicy.description - resources.projects.resources.locations.resources.multicastGroupDefinitions.methods.setIamPolicy.flatPath - resources.projects.resources.locations.resources.multicastGroupDefinitions.methods.setIamPolicy.httpMethod - resources.projects.resources.locations.resources.multicastGroupDefinitions.methods.setIamPolicy.id - resources.projects.resources.locations.resources.multicastGroupDefinitions.methods.setIamPolicy.parameterOrder - resources.projects.resources.locations.resources.multicastGroupDefinitions.methods.setIamPolicy.parameters.resource.description - resources.projects.resources.locations.resources.multicastGroupDefinitions.methods.setIamPolicy.parameters.resource.location - resources.projects.resources.locations.resources.multicastGroupDefinitions.methods.setIamPolicy.parameters.resource.pattern - resources.projects.resources.locations.resources.multicastGroupDefinitions.methods.setIamPolicy.parameters.resource.required - resources.projects.resources.locations.resources.multicastGroupDefinitions.methods.setIamPolicy.parameters.resource.type - resources.projects.resources.locations.resources.multicastGroupDefinitions.methods.setIamPolicy.path - resources.projects.resources.locations.resources.multicastGroupDefinitions.methods.setIamPolicy.request.$ref - resources.projects.resources.locations.resources.multicastGroupDefinitions.methods.setIamPolicy.response.$ref - resources.projects.resources.locations.resources.multicastGroupDefinitions.methods.setIamPolicy.scopes - resources.projects.resources.locations.resources.multicastGroupDefinitions.methods.testIamPermissions.description - resources.projects.resources.locations.resources.multicastGroupDefinitions.methods.testIamPermissions.flatPath - resources.projects.resources.locations.resources.multicastGroupDefinitions.methods.testIamPermissions.httpMethod - resources.projects.resources.locations.resources.multicastGroupDefinitions.methods.testIamPermissions.id - resources.projects.resources.locations.resources.multicastGroupDefinitions.methods.testIamPermissions.parameterOrder - resources.projects.resources.locations.resources.multicastGroupDefinitions.methods.testIamPermissions.parameters.resource.description - resources.projects.resources.locations.resources.multicastGroupDefinitions.methods.testIamPermissions.parameters.resource.location - resources.projects.resources.locations.resources.multicastGroupDefinitions.methods.testIamPermissions.parameters.resource.pattern - resources.projects.resources.locations.resources.multicastGroupDefinitions.methods.testIamPermissions.parameters.resource.required - resources.projects.resources.locations.resources.multicastGroupDefinitions.methods.testIamPermissions.parameters.resource.type - resources.projects.resources.locations.resources.multicastGroupDefinitions.methods.testIamPermissions.path - resources.projects.resources.locations.resources.multicastGroupDefinitions.methods.testIamPermissions.request.$ref - resources.projects.resources.locations.resources.multicastGroupDefinitions.methods.testIamPermissions.response.$ref - resources.projects.resources.locations.resources.multicastGroupDefinitions.methods.testIamPermissions.scopes - resources.projects.resources.locations.resources.multicastGroups.methods.getIamPolicy.description - resources.projects.resources.locations.resources.multicastGroups.methods.getIamPolicy.flatPath - resources.projects.resources.locations.resources.multicastGroups.methods.getIamPolicy.httpMethod - resources.projects.resources.locations.resources.multicastGroups.methods.getIamPolicy.id - resources.projects.resources.locations.resources.multicastGroups.methods.getIamPolicy.parameterOrder - resources.projects.resources.locations.resources.multicastGroups.methods.getIamPolicy.parameters.options.requestedPolicyVersion.description - resources.projects.resources.locations.resources.multicastGroups.methods.getIamPolicy.parameters.options.requestedPolicyVersion.format - resources.projects.resources.locations.resources.multicastGroups.methods.getIamPolicy.parameters.options.requestedPolicyVersion.location - resources.projects.resources.locations.resources.multicastGroups.methods.getIamPolicy.parameters.options.requestedPolicyVersion.type - resources.projects.resources.locations.resources.multicastGroups.methods.getIamPolicy.parameters.resource.description - resources.projects.resources.locations.resources.multicastGroups.methods.getIamPolicy.parameters.resource.location - resources.projects.resources.locations.resources.multicastGroups.methods.getIamPolicy.parameters.resource.pattern - resources.projects.resources.locations.resources.multicastGroups.methods.getIamPolicy.parameters.resource.required - resources.projects.resources.locations.resources.multicastGroups.methods.getIamPolicy.parameters.resource.type - resources.projects.resources.locations.resources.multicastGroups.methods.getIamPolicy.path - resources.projects.resources.locations.resources.multicastGroups.methods.getIamPolicy.response.$ref - resources.projects.resources.locations.resources.multicastGroups.methods.getIamPolicy.scopes - resources.projects.resources.locations.resources.multicastGroups.methods.setIamPolicy.description - resources.projects.resources.locations.resources.multicastGroups.methods.setIamPolicy.flatPath - resources.projects.resources.locations.resources.multicastGroups.methods.setIamPolicy.httpMethod - resources.projects.resources.locations.resources.multicastGroups.methods.setIamPolicy.id - resources.projects.resources.locations.resources.multicastGroups.methods.setIamPolicy.parameterOrder - resources.projects.resources.locations.resources.multicastGroups.methods.setIamPolicy.parameters.resource.description - resources.projects.resources.locations.resources.multicastGroups.methods.setIamPolicy.parameters.resource.location - resources.projects.resources.locations.resources.multicastGroups.methods.setIamPolicy.parameters.resource.pattern - resources.projects.resources.locations.resources.multicastGroups.methods.setIamPolicy.parameters.resource.required - resources.projects.resources.locations.resources.multicastGroups.methods.setIamPolicy.parameters.resource.type - resources.projects.resources.locations.resources.multicastGroups.methods.setIamPolicy.path - resources.projects.resources.locations.resources.multicastGroups.methods.setIamPolicy.request.$ref - resources.projects.resources.locations.resources.multicastGroups.methods.setIamPolicy.response.$ref - resources.projects.resources.locations.resources.multicastGroups.methods.setIamPolicy.scopes - resources.projects.resources.locations.resources.multicastGroups.methods.testIamPermissions.description - resources.projects.resources.locations.resources.multicastGroups.methods.testIamPermissions.flatPath - resources.projects.resources.locations.resources.multicastGroups.methods.testIamPermissions.httpMethod - resources.projects.resources.locations.resources.multicastGroups.methods.testIamPermissions.id - resources.projects.resources.locations.resources.multicastGroups.methods.testIamPermissions.parameterOrder - resources.projects.resources.locations.resources.multicastGroups.methods.testIamPermissions.parameters.resource.description - resources.projects.resources.locations.resources.multicastGroups.methods.testIamPermissions.parameters.resource.location - resources.projects.resources.locations.resources.multicastGroups.methods.testIamPermissions.parameters.resource.pattern - resources.projects.resources.locations.resources.multicastGroups.methods.testIamPermissions.parameters.resource.required - resources.projects.resources.locations.resources.multicastGroups.methods.testIamPermissions.parameters.resource.type - resources.projects.resources.locations.resources.multicastGroups.methods.testIamPermissions.path - resources.projects.resources.locations.resources.multicastGroups.methods.testIamPermissions.request.$ref - resources.projects.resources.locations.resources.multicastGroups.methods.testIamPermissions.response.$ref - resources.projects.resources.locations.resources.multicastGroups.methods.testIamPermissions.scopes * fix(secretmanager): update the API #### secretmanager:v1 The following keys were changed: - schemas.Topic.properties.name.description * fix(servicenetworking): update the API #### servicenetworking:v1beta The following keys were changed: - schemas.Publishing.properties.newIssueUri.description #### servicenetworking:v1 The following keys were changed: - schemas.Publishing.properties.newIssueUri.description * feat(serviceusage): update the API #### serviceusage:v1beta1 The following keys were added: - schemas.ConsumerPolicy.description - schemas.ConsumerPolicy.id - schemas.ConsumerPolicy.properties.annotations.additionalProperties.type - schemas.ConsumerPolicy.properties.annotations.description - schemas.ConsumerPolicy.properties.annotations.type - schemas.ConsumerPolicy.properties.enableRules.description - schemas.ConsumerPolicy.properties.enableRules.items.$ref - schemas.ConsumerPolicy.properties.enableRules.type - schemas.ConsumerPolicy.properties.etag.description - schemas.ConsumerPolicy.properties.etag.type - schemas.ConsumerPolicy.properties.name.description - schemas.ConsumerPolicy.properties.name.readOnly - schemas.ConsumerPolicy.properties.name.type - schemas.ConsumerPolicy.properties.updateTime.description - schemas.ConsumerPolicy.properties.updateTime.format - schemas.ConsumerPolicy.properties.updateTime.type - schemas.ConsumerPolicy.type - schemas.EnableRule.description - schemas.EnableRule.id - schemas.EnableRule.properties.enableType.description - schemas.EnableRule.properties.enableType.enum - schemas.EnableRule.properties.enableType.enumDescriptions - schemas.EnableRule.properties.enableType.type - schemas.EnableRule.properties.groups.description - schemas.EnableRule.properties.groups.items.type - schemas.EnableRule.properties.groups.type - schemas.EnableRule.properties.services.description - schemas.EnableRule.properties.services.items.type - schemas.EnableRule.properties.services.type - schemas.EnableRule.properties.values.description - schemas.EnableRule.properties.values.items.type - schemas.EnableRule.properties.values.type - schemas.EnableRule.type - schemas.UpdateConsumerPolicyLROMetadata.description - schemas.UpdateConsumerPolicyLROMetadata.id - schemas.UpdateConsumerPolicyLROMetadata.type #### serviceusage:v1 The following keys were added: - schemas.ConsumerPolicy.description - schemas.ConsumerPolicy.id - schemas.ConsumerPolicy.properties.annotations.additionalProperties.type - schemas.ConsumerPolicy.properties.annotations.description - schemas.ConsumerPolicy.properties.annotations.type - schemas.ConsumerPolicy.properties.enableRules.description - schemas.ConsumerPolicy.properties.enableRules.items.$ref - schemas.ConsumerPolicy.properties.enableRules.type - schemas.ConsumerPolicy.properties.etag.description - schemas.ConsumerPolicy.properties.etag.type - schemas.ConsumerPolicy.properties.name.description - schemas.ConsumerPolicy.properties.name.readOnly - schemas.ConsumerPolicy.properties.name.type - schemas.ConsumerPolicy.properties.updateTime.description - schemas.ConsumerPolicy.properties.updateTime.format - schemas.ConsumerPolicy.properties.updateTime.type - schemas.ConsumerPolicy.type - schemas.EnableRule.description - schemas.EnableRule.id - schemas.EnableRule.properties.enableType.description - schemas.EnableRule.properties.enableType.enum - schemas.EnableRule.properties.enableType.enumDescriptions - schemas.EnableRule.properties.enableType.type - schemas.EnableRule.properties.groups.description - schemas.EnableRule.properties.groups.items.type - schemas.EnableRule.properties.groups.type - schemas.EnableRule.properties.services.description - schemas.EnableRule.properties.services.items.type - schemas.EnableRule.properties.services.type - schemas.EnableRule.properties.values.description - schemas.EnableRule.properties.values.items.type - schemas.EnableRule.properties.values.type - schemas.EnableRule.type - schemas.UpdateConsumerPolicyLROMetadata.description - schemas.UpdateConsumerPolicyLROMetadata.id - schemas.UpdateConsumerPolicyLROMetadata.type * fix(toolresults): update the API #### toolresults:v1beta3 The following keys were changed: - schemas.Execution.description * feat(vmmigration): update the API #### vmmigration:v1 The following keys were added: - schemas.CutoverForecast.description - schemas.CutoverForecast.id - schemas.CutoverForecast.properties.estimatedCutoverJobDuration.description - schemas.CutoverForecast.properties.estimatedCutoverJobDuration.format - schemas.CutoverForecast.properties.estimatedCutoverJobDuration.readOnly - schemas.CutoverForecast.properties.estimatedCutoverJobDuration.type - schemas.CutoverForecast.type - schemas.MigratingVm.properties.cutoverForecast.$ref - schemas.MigratingVm.properties.cutoverForecast.description - schemas.MigratingVm.properties.cutoverForecast.readOnly * feat(workloadmanager)!: update the API BREAKING CHANGE: This release has breaking changes. #### workloadmanager:v1 The following keys were deleted: - resources.projects.resources.locations.resources.evaluations.resources.executions.methods.get.description - resources.projects.resources.locations.resources.evaluations.resources.executions.methods.get.flatPath - resources.projects.resources.locations.resources.evaluations.resources.executions.methods.get.httpMethod - resources.projects.resources.locations.resources.evaluations.resources.executions.methods.get.id - resources.projects.resources.locations.resources.evaluations.resources.executions.methods.get.parameterOrder - resources.projects.resources.locations.resources.evaluations.resources.executions.methods.get.parameters.name.description - resources.projects.resources.locations.resources.evaluations.resources.executions.methods.get.parameters.name.location - resources.projects.resources.locations.resources.evaluations.resources.executions.methods.get.parameters.name.pattern - resources.projects.resources.locations.resources.evaluations.resources.executions.methods.get.parameters.name.required - resources.projects.resources.locations.resources.evaluations.resources.executions.methods.get.parameters.name.type - resources.projects.resources.locations.resources.evaluations.resources.executions.methods.get.path - resources.projects.resources.locations.resources.evaluations.resources.executions.methods.get.response.$ref - resources.projects.resources.locations.resources.evaluations.resources.executions.methods.get.scopes - resources.projects.resources.locations.resources.evaluations.resources.executions.methods.list.description - resources.projects.resources.locations.resources.evaluations.resources.executions.methods.list.flatPath - resources.projects.resources.locations.resources.evaluations.resources.executions.methods.list.httpMethod - resources.projects.resources.locations.resources.evaluations.resources.executions.methods.list.id - resources.projects.resources.locations.resources.evaluations.resources.executions.methods.list.parameterOrder - resources.projects.resources.locations.resources.evaluations.resources.executions.methods.list.parameters.filter.description - resources.projects.resources.locations.resources.evaluations.resources.executions.methods.list.parameters.filter.location - resources.projects.resources.locations.resources.evaluations.resources.executions.methods.list.parameters.filter.type - resources.projects.resources.locations.resources.evaluations.resources.executions.methods.list.parameters.orderBy.description - resources.projects.resources.locations.resources.evaluations.resources.executions.methods.list.parameters.orderBy.location - resources.projects.resources.locations.resources.evaluations.resources.executions.methods.list.parameters.orderBy.type - resources.projects.resources.locations.resources.evaluations.resources.executions.methods.list.parameters.pageSize.description - resources.projects.resources.locations.resources.evaluations.resources.executions.methods.list.parameters.pageSize.format - resources.projects.resources.locations.resources.evaluations.resources.executions.methods.list.parameters.pageSize.location - resources.projects.resources.locations.resources.evaluations.resources.executions.methods.list.parameters.pageSize.type - resources.projects.resources.locations.resources.evaluations.resources.executions.methods.list.parameters.pageToken.description - resources.projects.resources.locations.resources.evaluations.resources.executions.methods.list.parameters.pageToken.location - resources.projects.resources.locations.resources.evaluations.resources.executions.methods.list.parameters.pageToken.type - resources.projects.resources.locations.resources.evaluations.resources.executions.methods.list.parameters.parent.description - resources.projects.resources.locations.resources.evaluations.resources.executions.methods.list.parameters.parent.location - resources.projects.resources.locations.resources.evaluations.resources.executions.methods.list.parameters.parent.pattern - resources.projects.resources.locations.resources.evaluations.resources.executions.methods.list.parameters.parent.required - resources.projects.resources.locations.resources.evaluations.resources.executions.methods.list.parameters.parent.type - resources.projects.resources.locations.resources.evaluations.resources.executions.methods.list.path - resources.projects.resources.locations.resources.evaluations.resources.executions.methods.list.response.$ref - resources.projects.resources.locations.resources.evaluations.resources.executions.methods.list.scopes - resources.projects.resources.locations.resources.evaluations.resources.executions.methods.run.description - resources.projects.resources.locations.resources.evaluations.resources.executions.methods.run.flatPath - resources.projects.resources.locations.resources.evaluations.resources.executions.methods.run.httpMethod - resources.projects.resources.locations.resources.evaluations.resources.executions.methods.run.id - resources.projects.resources.locations.resources.evaluations.resources.executions.methods.run.parameterOrder - resources.projects.resources.locations.resources.evaluations.resources.executions.methods.run.parameters.name.description - resources.projects.resources.locations.resources.evaluations.resources.executions.methods.run.parameters.name.location - resources.projects.resources.locations.resources.evaluations.resources.executions.methods.run.parameters.name.pattern - resources.projects.resources.locations.resources.evaluations.resources.executions.methods.run.parameters.name.required - resources.projects.resources.locations.resources.evaluations.resources.executions.methods.run.parameters.name.type - resources.projects.resources.locations.resources.evaluations.resources.executions.methods.run.path - resources.projects.resources.locations.resources.evaluations.resources.executions.methods.run.request.$ref - resources.projects.resources.locations.resources.evaluations.resources.executions.methods.run.response.$ref - resources.projects.resources.locations.resources.evaluations.resources.executions.methods.run.scopes - resources.projects.resources.locations.resources.evaluations.resources.executions.resources.results.methods.list.description - resources.projects.resources.locations.resources.evaluations.resources.executions.resources.results.methods.list.flatPath - resources.projects.resources.locations.resources.evaluations.resources.executions.resources.results.methods.list.httpMethod - resources.projects.resources.locations.resources.evaluations.resources.executions.resources.results.methods.list.id - resources.projects.resources.locations.resources.evaluations.resources.executions.resources.results.methods.list.parameterOrder - resources.projects.resources.locations.resources.evaluations.resources.executions.resources.results.methods.list.parameters.filter.description - resources.projects.resources.locations.resources.evaluations.resources.executions.resources.results.methods.list.parameters.filter.location - resources.projects.resources.locations.resources.evaluations.resources.executions.resources.results.methods.list.parameters.filter.type - resources.projects.resources.locations.resources.evaluations.resources.executions.resources.results.methods.list.parameters.pageSize.description - resources.projects.resources.locations.resources.evaluations.resources.executions.resources.results.methods.list.parameters.pageSize.format - resources.projects.resources.locations.resources.evaluations.resources.executions.resources.results.methods.list.parameters.pageSize.location - resources.projects.resources.locations.resources.evaluations.resources.executions.resources.results.methods.list.parameters.pageSize.type - resources.projects.resources.locations.resources.evaluations.resources.executions.resources.results.methods.list.parameters.pageToken.description - resources.projects.resources.locations.resources.evaluations.resources.executions.resources.results.methods.list.parameters.pageToken.location - resources.projects.resources.locations.resources.evaluations.resources.executions.resources.results.methods.list.parameters.pageToken.type - resources.projects.resources.locations.resources.evaluations.resources.executions.resources.results.methods.list.parameters.parent.description - resources.projects.resources.locations.resources.evaluations.resources.executions.resources.results.methods.list.parameters.parent.location - resources.projects.resources.locations.resources.evaluations.resources.executions.resources.results.methods.list.parameters.parent.pattern - resources.projects.resources.locations.resources.evaluations.resources.executions.resources.results.methods.list.parameters.parent.required - resources.projects.resources.locations.resources.evaluations.resources.executions.resources.results.methods.list.parameters.parent.type - resources.projects.resources.locations.resources.evaluations.resources.executions.resources.results.methods.list.path - resources.projects.resources.locations.resources.evaluations.resources.executions.resources.results.methods.list.response.$ref - resources.projects.resources.locations.resources.evaluations.resources.executions.resources.results.methods.list.scopes - resources.projects.resources.locations.resources.evaluations.resources.executions.resources.scannedResources.methods.list.description - resources.projects.resources.locations.resources.evaluations.resources.executions.resources.scannedResources.methods.list.flatPath - resources.projects.resources.locations.resources.evaluations.resources.executions.resources.scannedResources.methods.list.httpMethod - resources.projects.resources.locations.resources.evaluations.resources.executions.resources.scannedResources.methods.list.id - resources.projects.resources.locations.resources.evaluations.resources.executions.resources.scannedResources.methods.list.parameterOrder - resources.projects.resources.locations.resources.evaluations.resources.executions.resources.scannedResources.methods.list.parameters.filter.description - resources.projects.resources.locations.resources.evaluations.resources.executions.resources.scannedResources.methods.list.parameters.filter.location - resources.projects.resources.locations.resources.evaluations.resources.executions.resources.scannedResources.methods.list.parameters.filter.type - resources.projects.resources.locations.resources.evaluations.resources.executions.resources.scannedResources.methods.list.parameters.orderBy.description - resources.projects.resources.locations.resources.evaluations.resources.executions.resources.scannedResources.methods.list.parameters.orderBy.location - resources.projects.resources.locations.resources.evaluations.resources.executions.resources.scannedResources.methods.list.parameters.orderBy.type - resources.projects.resources.locations.resources.evaluations.resources.executions.resources.scannedResources.methods.list.parameters.pageSize.description - resources.projects.resources.locations.resources.evaluations.resources.executions.resources.scannedResources.methods.list.parameters.pageSize.format - resources.projects.resources.locations.resources.evaluations.resources.executions.resources.scannedResources.methods.list.parameters.pageSize.location - resources.projects.resources.locations.resources.evaluations.resources.executions.resources.scannedResources.methods.list.parameters.pageSize.type - resources.projects.resources.locations.resources.evaluations.resources.executions.resources.scannedResources.methods.list.parameters.pageToken.description - resources.projects.resources.locations.resources.evaluations.resources.executions.resources.scannedResources.methods.list.parameters.pageToken.location - resources.projects.resources.locations.resources.evaluations.resources.executions.resources.scannedResources.methods.list.parameters.pageToken.type - resources.projects.resources.locations.resources.evaluations.resources.executions.resources.scannedResources.methods.list.parameters.parent.description - resources.projects.resources.locations.resources.evaluations.resources.executions.resources.scannedResources.methods.list.parameters.parent.location - resources.projects.resources.locations.resources.evaluations.resources.executions.resources.scannedResources.methods.list.parameters.parent.pattern - resources.projects.resources.locations.resources.evaluations.resources.executions.resources.scannedResources.methods.list.parameters.parent.required - resources.projects.resources.locations.resources.evaluations.resources.executions.resources.scannedResources.methods.list.parameters.parent.type - resources.projects.resources.locations.resources.evaluations.resources.executions.resources.scannedResources.methods.list.parameters.rule.description - resources.projects.resources.locations.resources.evaluations.resources.executions.resources.scannedResources.methods.list.parameters.rule.location - resources.projects.resources.locations.resources.evaluations.resources.executions.resources.scannedResources.methods.list.parameters.rule.type - resources.projects.resources.locations.resources.evaluations.resources.executions.resources.scannedResources.methods.list.path - resources.projects.resources.locations.resources.evaluations.resources.executions.resources.scannedResources.methods.list.response.$ref - resources.projects.resources.locations.resources.evaluations.resources.executions.resources.scannedResources.methods.list.scopes - resources.projects.resources.locations.resources.rules.methods.list.description - resources.projects.resources.locations.resources.rules.methods.list.flatPath - resources.projects.resources.locations.resources.rules.methods.list.httpMethod - resources.projects.resources.locations.resources.rules.methods.list.id - resources.projects.resources.locations.resources.rules.methods.list.parameterOrder - resources.projects.resources.locations.resources.rules.methods.list.parameters.filter.description - resources.projects.resources.locations.resources.rules.methods.list.parameters.filter.location - resources.projects.resources.locations.resources.rules.methods.list.parameters.filter.type - resources.projects.resources.locations.resources.rules.methods.list.parameters.pageSize.description - resources.projects.resources.locations.resources.rules.methods.list.parameters.pageSize.format - resources.projects.resources.locations.resources.rules.methods.list.parameters.pageSize.location - resources.projects.resources.locations.resources.rules.methods.list.parameters.pageSize.type - resources.projects.resources.locations.resources.rules.methods.list.parameters.pageToken.description - resources.projects.resources.locations.resources.rules.methods.list.parameters.pageToken.location - resources.projects.resources.locations.resources.rules.methods.list.parameters.pageToken.type - resources.projects.resources.locations.resources.rules.methods.list.parameters.parent.description - resources.projects.resources.locations.resources.rules.methods.list.parameters.parent.location - resources.projects.resources.locations.resources.rules.methods.list.parameters.parent.pattern - resources.projects.resources.locations.resources.rules.methods.list.parameters.parent.required - resources.projects.resources.locations.resources.rules.methods.list.parameters.parent.type - resources.projects.resources.locations.resources.rules.methods.list.path - resources.projects.resources.locations.resources.rules.methods.list.response.$ref - resources.projects.resources.locations.resources.rules.methods.list.scopes - schemas.Evaluation.properties.schedule.description - schemas.Evaluation.properties.schedule.type - schemas.Execution.description - schemas.Execution.id - schemas.Execution.properties.endTime.description - schemas.Execution.properties.endTime.format - schemas.Execution.properties.endTime.readOnly - schemas.Execution.properties.endTime.type - schemas.Execution.properties.evaluationId.description - schemas.Execution.properties.evaluationId.readOnly - schemas.Execution.properties.evaluationId.type - schemas.Execution.properties.inventoryTime.description - schemas.Execution.properties.inventoryTime.format - schemas.Execution.properties.inventoryTime.readOnly - schemas.Execution.properties.inventoryTime.type - schemas.Execution.properties.labels.additionalProperties.type - schemas.Execution.properties.labels.description - schemas.Execution.properties.labels.type - schemas.Execution.properties.name.description - schemas.Execution.properties.name.type - schemas.Execution.properties.runType.description - schemas.Execution.properties.runType.enum - schemas.Execution.properties.runType.enumDescriptions - schemas.Execution.properties.runType.type - schemas.Execution.properties.startTime.description - schemas.Execution.properties.startTime.format - schemas.Execution.properties.startTime.readOnly - schemas.Execution.properties.startTime.type - schemas.Execution.properties.state.description - schemas.Execution.properties.state.enum - schemas.Execution.properties.state.enumDescriptions - schemas.Execution.properties.state.readOnly - schemas.Execution.properties.state.type - schemas.Execution.type - schemas.ExecutionResult.description - schemas.ExecutionResult.id - schemas.ExecutionResult.properties.documentationUrl.description - schemas.ExecutionResult.properties.documentationUrl.type - schemas.ExecutionResult.properties.resource.$ref - schemas.ExecutionResult.properties.resource.description - schemas.ExecutionResult.properties.rule.description - schemas.ExecutionResult.properties.rule.type - schemas.ExecutionResult.properties.severity.description - schemas.ExecutionResult.properties.severity.type - schemas.ExecutionResult.properties.violationDetails.$ref - schemas.ExecutionResult.properties.violationDetails.description - schemas.ExecutionResult.properties.violationMessage.description - schemas.ExecutionResult.properties.violationMessage.type - schemas.ExecutionResult.type - schemas.ListExecutionResultsResponse.description - schemas.ListExecutionResultsResponse.id - schemas.ListExecutionResultsResponse.properties.executionResults.description - schemas.ListExecutionResultsResponse.properties.executionResults.items.$ref - schemas.ListExecutionResultsResponse.properties.executionResults.type - schemas.ListExecutionResultsResponse.properties.nextPageToken.description - schemas.ListExecutionResultsResponse.properties.nextPageToken.type - schemas.ListExecutionResultsResponse.type - schemas.ListExecutionsResponse.description - schemas.ListExecutionsResponse.id - schemas.ListExecutionsResponse.properties.executions.description - schemas.ListExecutionsResponse.properties.executions.items.$ref - schemas.ListExecutionsResponse.properties.executions.type - schemas.ListExecutionsResponse.properties.nextPageToken.description - schemas.ListExecutionsResponse.properties.nextPageToken.type - schemas.ListExecutionsResponse.properties.unreachable.description - schemas.ListExecutionsResponse.properties.unreachable.items.type - schemas.ListExecutionsResponse.properties.unreachable.type - schemas.ListExecutionsResponse.type - schemas.ListRulesResponse.description - schemas.ListRulesResponse.id - schemas.ListRulesResponse.properties.nextPageToken.description - schemas.ListRulesResponse.properties.nextPageToken.type - schemas.ListRulesResponse.properties.rules.description - schemas.ListRulesResponse.properties.rules.items.$ref - schemas.ListRulesResponse.properties.rules.type - schemas.ListRulesResponse.type - schemas.ListScannedResourcesResponse.description - schemas.ListScannedResourcesResponse.id - schemas.ListScannedResourcesResponse.properties.nextPageToken.description - schemas.ListScannedResourcesResponse.properties.nextPageToken.type - schemas.ListScannedResourcesResponse.properties.scannedResources.description - schemas.ListScannedResourcesResponse.properties.scannedResources.items.$ref - schemas.ListScannedResourcesResponse.properties.scannedResources.type - schemas.ListScannedResourcesResponse.type - schemas.Resource.description - schemas.Resource.id - schemas.Resource.properties.name.description - schemas.Resource.properties.name.type - schemas.Resource.properties.serviceAccount.description - schemas.Resource.properties.serviceAccount.type - schemas.Resource.properties.type.description - schemas.Resource.properties.type.type - schemas.Resource.type - schemas.Rule.description - schemas.Rule.id - schemas.Rule.properties.description.description - schemas.Rule.properties.description.type - schemas.Rule.properties.displayName.description - schemas.Rule.properties.displayName.type - schemas.Rule.properties.errorMessage.description - schemas.Rule.properties.errorMessage.type - schemas.Rule.properties.name.description - schemas.Rule.properties.name.type - schemas.Rule.properties.primaryCategory.description - schemas.Rule.properties.primaryCategory.type - schemas.Rule.properties.remediation.description - schemas.Rule.properties.remediation.type - schemas.Rule.properties.revisionId.description - schemas.Rule.properties.revisionId.readOnly - schemas.Rule.properties.revisionId.type - schemas.Rule.properties.secondaryCategory.description - schemas.Rule.properties.secondaryCategory.type - schemas.Rule.properties.severity.description - schemas.Rule.properties.severity.type - schemas.Rule.properties.uri.description - schemas.Rule.properties.uri.type - schemas.Rule.type - schemas.RunEvaluationRequest.description - schemas.RunEvaluationRequest.id - schemas.RunEvaluationRequest.properties.execution.$ref - schemas.RunEvaluationRequest.properties.execution.description - schemas.RunEvaluationRequest.properties.executionId.description - schemas.RunEvaluationRequest.properties.executionId.type - schemas.RunEvaluationRequest.properties.requestId.description - schemas.RunEvaluationRequest.properties.requestId.type - schemas.RunEvaluationRequest.type - schemas.SapDiscoveryResource.properties.resourceState.description - schemas.SapDiscoveryResource.properties.resourceState.enum - schemas.SapDiscoveryResource.properties.resourceState.enumDescriptions - schemas.SapDiscoveryResource.properties.resourceState.type - schemas.ScannedResource.description - schemas.ScannedResource.id - schemas.ScannedResource.properties.resource.description - schemas.ScannedResource.properties.resource.type - schemas.ScannedResource.type - schemas.ViolationDetails.description - schemas.ViolationDetails.id - schemas.ViolationDetails.properties.asset.description - schemas.ViolationDetails.properties.asset.type - schemas.ViolationDetails.properties.observed.additionalProperties.type - schemas.ViolationDetails.properties.observed.description - schemas.ViolationDetails.properties.observed.type - schemas.ViolationDetails.properties.serviceAccount.description - schemas.ViolationDetails.properties.serviceAccount.type - schemas.ViolationDetails.type * feat: regenerate index files --------- Co-authored-by: Yoshi Automation --- discovery/adexperiencereport-v1.json | 3 +- discovery/admin-directory_v1.json | 10 +- discovery/admin-reports_v1.json | 4 +- discovery/analyticsadmin-v1alpha.json | 12 +- discovery/analyticsadmin-v1beta.json | 10 +- discovery/cloudresourcemanager-v1beta1.json | 3 +- discovery/compute-beta.json | 49 +- discovery/connectors-v1.json | 125 +- discovery/datacatalog-v1.json | 6 +- discovery/datacatalog-v1beta1.json | 6 +- discovery/datamigration-v1.json | 10 +- discovery/displayvideo-v1.json | 50 +- discovery/displayvideo-v2.json | 50 +- discovery/index.json | 2 +- discovery/networkservices-v1.json | 457 +--- discovery/secretmanager-v1.json | 4 +- discovery/servicenetworking-v1.json | 4 +- discovery/servicenetworking-v1beta.json | 4 +- discovery/serviceusage-v1.json | 87 +- discovery/serviceusage-v1beta1.json | 87 +- discovery/toolresults-v1beta3.json | 4 +- discovery/vmmigration-v1.json | 20 +- discovery/workloadmanager-v1.json | 579 +---- src/apis/admin/directory_v1.ts | 4 +- src/apis/admin/reports_v1.ts | 2 +- src/apis/analyticsadmin/v1alpha.ts | 6 +- src/apis/analyticsadmin/v1beta.ts | 2 +- src/apis/compute/beta.ts | 32 +- src/apis/connectors/v1.ts | 99 + src/apis/datacatalog/v1.ts | 4 +- src/apis/datacatalog/v1beta1.ts | 4 +- src/apis/displayvideo/v1.ts | 14 +- src/apis/displayvideo/v2.ts | 14 +- src/apis/networkservices/v1.ts | 2413 ------------------- src/apis/secretmanager/v1.ts | 2 +- src/apis/servicenetworking/v1.ts | 2 +- src/apis/servicenetworking/v1beta.ts | 2 +- src/apis/serviceusage/v1.ts | 50 + src/apis/serviceusage/v1beta1.ts | 50 + src/apis/toolresults/v1beta3.ts | 2 +- src/apis/vmmigration/v1.ts | 16 + src/apis/workloadmanager/v1.ts | 1446 +---------- 42 files changed, 800 insertions(+), 4950 deletions(-) diff --git a/discovery/adexperiencereport-v1.json b/discovery/adexperiencereport-v1.json index 8a3f8a25641..8c22a3b8b76 100644 --- a/discovery/adexperiencereport-v1.json +++ b/discovery/adexperiencereport-v1.json @@ -6,6 +6,7 @@ "description": "Views Ad Experience Report data, and gets a list of sites that have a significant number of annoying ads.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/ad-experience-report/", + "fullyEncodeReservedExpansion": true, "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", "x32": "http://www.google.com/images/icons/product/search-32.gif" @@ -138,7 +139,7 @@ } } }, - "revision": "20200823", + "revision": "20230403", "rootUrl": "https://adexperiencereport.googleapis.com/", "schemas": { "PlatformSummary": { diff --git a/discovery/admin-directory_v1.json b/discovery/admin-directory_v1.json index e4baa0e39ae..8cadd996e0c 100644 --- a/discovery/admin-directory_v1.json +++ b/discovery/admin-directory_v1.json @@ -4635,7 +4635,7 @@ } } }, - "revision": "20230316", + "revision": "20230406", "rootUrl": "https://admin.googleapis.com/", "schemas": { "Alias": { @@ -5911,7 +5911,7 @@ "Wipe all the users off of the device. Executing this command in the device will remove all user profile data, but it will keep device policy and enrollment.", "Wipes the device by performing a power wash. Executing this command in the device will remove all data including user policies, device policies and enrollment policies. Warning: This will revert the device back to a factory state with no enrollment unless the device is subject to forced or auto enrollment. Use with caution, as this is an irreversible action!", "Starts a Chrome Remote Desktop session.", - "Capture the system logs of a kiosk device. The logs can be downloaded from the downloadUrl link present in deviceFiles field of [chromeosdevices](https://developers.google.com/admin-sdk/directory/reference/rest/v1/chromeosdevices)" + "Capture the system logs of a kiosk device. The logs can be downloaded from the downloadUrl link present in `deviceFiles` field of [chromeosdevices](https://developers.google.com/admin-sdk/directory/reference/rest/v1/chromeosdevices)" ], "type": "string" } @@ -5978,7 +5978,7 @@ "Wipe all the users off of the device. Executing this command in the device will remove all user profile data, but it will keep device policy and enrollment.", "Wipes the device by performing a power wash. Executing this command in the device will remove all data including user policies, device policies and enrollment policies. Warning: This will revert the device back to a factory state with no enrollment unless the device is subject to forced or auto enrollment. Use with caution, as this is an irreversible action!", "Starts a Chrome Remote Desktop session.", - "Capture the system logs of a kiosk device. The logs can be downloaded from the downloadUrl link present in deviceFiles field of [chromeosdevices](https://developers.google.com/admin-sdk/directory/reference/rest/v1/chromeosdevices)" + "Capture the system logs of a kiosk device. The logs can be downloaded from the downloadUrl link present in `deviceFiles` field of [chromeosdevices](https://developers.google.com/admin-sdk/directory/reference/rest/v1/chromeosdevices)" ], "type": "string" }, @@ -7177,7 +7177,7 @@ "id": "RoleAssignment", "properties": { "assignedTo": { - "description": "The unique ID of the entity this role is assigned to—either the `user_id` of a user or the `uniqueId` of a service account, as defined in [Identity and Access Management (IAM)](https://cloud.google.com/iam/docs/reference/rest/v1/projects.serviceAccounts).", + "description": "The unique ID of the entity this role is assigned to—either the `user_id` of a user, the `group_id` of a group, or the `uniqueId` of a service account as defined in [Identity and Access Management (IAM)](https://cloud.google.com/iam/docs/reference/rest/v1/projects.serviceAccounts).", "type": "string" }, "assigneeType": { @@ -7494,7 +7494,7 @@ "type": "object" }, "User": { - "description": "The Directory API allows you to create and manage your account's users, user aliases, and user Gmail chat profile photos. For more information about common tasks, see the [User Accounts Developer's Guide](/admin-sdk/directory/v1/guides/manage-users.html) and the [User Aliases Developer's Guide](/admin-sdk/directory/v1/guides/manage-user-aliases.html).", + "description": "The Directory API allows you to create and manage your account's users, user aliases, and user Google profile photos. For more information about common tasks, see the [User Accounts Developer's Guide](/admin-sdk/directory/v1/guides/manage-users.html) and the [User Aliases Developer's Guide](/admin-sdk/directory/v1/guides/manage-user-aliases.html).", "id": "User", "properties": { "addresses": { diff --git a/discovery/admin-reports_v1.json b/discovery/admin-reports_v1.json index 8ff29456c8f..c196b9f45fe 100644 --- a/discovery/admin-reports_v1.json +++ b/discovery/admin-reports_v1.json @@ -623,7 +623,7 @@ } } }, - "revision": "20221205", + "revision": "20230406", "rootUrl": "https://admin.googleapis.com/", "schemas": { "Activities": { @@ -840,7 +840,7 @@ "type": "object" }, "payload": { - "description": "A Boolean value to indicate whether payload is wanted. Optional.", + "description": "A Boolean value to indicate whether payload is wanted. A payload is data that is sent in the body of an HTTP POST, PUT, or PATCH message and contains important information about the request. Optional.", "type": "boolean" }, "resourceId": { diff --git a/discovery/analyticsadmin-v1alpha.json b/discovery/analyticsadmin-v1alpha.json index b36b19bbd19..3826b3624c7 100644 --- a/discovery/analyticsadmin-v1alpha.json +++ b/discovery/analyticsadmin-v1alpha.json @@ -3274,7 +3274,7 @@ ], "parameters": { "name": { - "description": "Required. The name of the Audience to get. Example format: properties/1234/expandedDataSets/5678", + "description": "Required. The name of the ExpandedDataSet to get. Example format: properties/1234/expandedDataSets/5678", "location": "path", "pattern": "^properties/[^/]+/expandedDataSets/[^/]+$", "required": true, @@ -4040,7 +4040,7 @@ } } }, - "revision": "20230406", + "revision": "20230410", "rootUrl": "https://analyticsadmin.googleapis.com/", "schemas": { "GoogleAnalyticsAdminV1alphaAccessBetweenFilter": { @@ -5743,7 +5743,7 @@ "type": "string" }, "parameterName": { - "description": "Required. Immutable. Tagging parameter name for this custom dimension. If this is a user-scoped dimension, then this is the user property name. If this is an event-scoped dimension, then this is the event parameter name. May only contain alphanumeric and underscore characters, starting with a letter. Max length of 24 characters for user-scoped dimensions, 40 characters for event-scoped dimensions.", + "description": "Required. Immutable. Tagging parameter name for this custom dimension. If this is a user-scoped dimension, then this is the user property name. If this is an event-scoped dimension, then this is the event parameter name. If this is an item-scoped dimension, then this is the parameter name found in the eCommerce items array. May only contain alphanumeric and underscore characters, starting with a letter. Max length of 24 characters for user-scoped dimensions, 40 characters for event-scoped dimensions.", "type": "string" }, "scope": { @@ -5751,12 +5751,14 @@ "enum": [ "DIMENSION_SCOPE_UNSPECIFIED", "EVENT", - "USER" + "USER", + "ITEM" ], "enumDescriptions": [ "Scope unknown or not specified.", "Dimension scoped to an event.", - "Dimension scoped to a user." + "Dimension scoped to a user.", + "Dimension scoped to eCommerce items" ], "type": "string" } diff --git a/discovery/analyticsadmin-v1beta.json b/discovery/analyticsadmin-v1beta.json index 2dd20df460a..d51242bb5f6 100644 --- a/discovery/analyticsadmin-v1beta.json +++ b/discovery/analyticsadmin-v1beta.json @@ -1594,7 +1594,7 @@ } } }, - "revision": "20230404", + "revision": "20230410", "rootUrl": "https://analyticsadmin.googleapis.com/", "schemas": { "GoogleAnalyticsAdminV1betaAccessBetweenFilter": { @@ -2232,7 +2232,7 @@ "type": "string" }, "parameterName": { - "description": "Required. Immutable. Tagging parameter name for this custom dimension. If this is a user-scoped dimension, then this is the user property name. If this is an event-scoped dimension, then this is the event parameter name. May only contain alphanumeric and underscore characters, starting with a letter. Max length of 24 characters for user-scoped dimensions, 40 characters for event-scoped dimensions.", + "description": "Required. Immutable. Tagging parameter name for this custom dimension. If this is a user-scoped dimension, then this is the user property name. If this is an event-scoped dimension, then this is the event parameter name. If this is an item-scoped dimension, then this is the parameter name found in the eCommerce items array. May only contain alphanumeric and underscore characters, starting with a letter. Max length of 24 characters for user-scoped dimensions, 40 characters for event-scoped dimensions.", "type": "string" }, "scope": { @@ -2240,12 +2240,14 @@ "enum": [ "DIMENSION_SCOPE_UNSPECIFIED", "EVENT", - "USER" + "USER", + "ITEM" ], "enumDescriptions": [ "Scope unknown or not specified.", "Dimension scoped to an event.", - "Dimension scoped to a user." + "Dimension scoped to a user.", + "Dimension scoped to eCommerce items" ], "type": "string" } diff --git a/discovery/cloudresourcemanager-v1beta1.json b/discovery/cloudresourcemanager-v1beta1.json index 705e9e53f4e..a29871b8259 100644 --- a/discovery/cloudresourcemanager-v1beta1.json +++ b/discovery/cloudresourcemanager-v1beta1.json @@ -261,6 +261,7 @@ ] }, "update": { + "deprecated": true, "description": "Updates an Organization resource identified by the specified resource name.", "flatPath": "v1beta1/organizations/{organizationsId}", "httpMethod": "PUT", @@ -566,7 +567,7 @@ } } }, - "revision": "20230129", + "revision": "20230409", "rootUrl": "https://cloudresourcemanager.googleapis.com/", "schemas": { "Ancestor": { diff --git a/discovery/compute-beta.json b/discovery/compute-beta.json index 963662c3403..1bd76844842 100644 --- a/discovery/compute-beta.json +++ b/discovery/compute-beta.json @@ -36741,7 +36741,7 @@ } } }, - "revision": "20230327", + "revision": "20230403", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AWSV4Signature": { @@ -38142,6 +38142,13 @@ "format": "int64", "type": "string" }, + "replicaZones": { + "description": "Required for each regional disk associated with the instance. Specify the URLs of the zones where the disk should be replicated to. You must provide exactly two replica zones, and one zone must be the same as the instance zone. You can't use this option with boot disks.", + "items": { + "type": "string" + }, + "type": "array" + }, "resourceManagerTags": { "additionalProperties": { "type": "string" @@ -44230,7 +44237,7 @@ "type": "string" }, "network": { - "description": "This field is not used for external load balancing. For Internal TCP/UDP Load Balancing, this field identifies the network that the load balanced IP should belong to for this Forwarding Rule. If this field is not specified, the default network will be used. For Private Service Connect forwarding rules that forward traffic to Google APIs, a network must be provided.", + "description": "This field is not used for external load balancing. For Internal TCP/UDP Load Balancing, this field identifies the network that the load balanced IP should belong to for this Forwarding Rule. If the subnetwork is specified, the network of the subnetwork will be used. If neither subnetwork nor this field is specified, the default network will be used. For Private Service Connect forwarding rules that forward traffic to Google APIs, a network must be provided.", "type": "string" }, "networkTier": { @@ -53892,7 +53899,7 @@ "type": "string" }, "secondaryIpCidrRanges": { - "description": "Alias IP ranges from the same subnetwork", + "description": "Alias IP ranges from the same subnetwork.", "items": { "type": "string" }, @@ -64053,6 +64060,22 @@ "description": "Represents a Nat resource. It enables the VMs within the specified subnetworks to access Internet without external IP addresses. It specifies a list of subnetworks (and the ranges within) that want to use NAT. Customers can also provide the external IPs that would be used for NAT. GCP would auto-allocate ephemeral IPs if no external IPs are provided.", "id": "RouterNat", "properties": { + "autoNetworkTier": { + "description": "The network tier to use when automatically reserving IP addresses. Must be one of: PREMIUM, STANDARD. If not specified, PREMIUM tier will be used.", + "enum": [ + "FIXED_STANDARD", + "PREMIUM", + "STANDARD", + "STANDARD_OVERRIDES_FIXED_STANDARD" + ], + "enumDescriptions": [ + "Public internet quality with fixed bandwidth.", + "High quality, Google-grade network tier, support for all networking products.", + "Public internet quality, only limited support for other networking products.", + "(Output only) Temporary tier for FIXED_STANDARD when fixed standard tier is expired or not configured." + ], + "type": "string" + }, "drainNatIps": { "description": "A list of URLs of the IP resources to be drained. These IPs must be valid static external IPs that have been assigned to the NAT. These IPs should be used for updating/patching a NAT only.", "items": { @@ -65488,15 +65511,15 @@ "type": "object" }, "SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig": { - "description": "Configuration options for L7 DDoS detection.", + "description": "Configuration options for L7 DDoS detection. This field is only supported in Global Security Policies of type CLOUD_ARMOR.", "id": "SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig", "properties": { "enable": { - "description": "If set to true, enables CAAP for L7 DDoS detection.", + "description": "If set to true, enables CAAP for L7 DDoS detection. This field is only supported in Global Security Policies of type CLOUD_ARMOR.", "type": "boolean" }, "ruleVisibility": { - "description": "Rule visibility can be one of the following: STANDARD - opaque rules. (default) PREMIUM - transparent rules.", + "description": "Rule visibility can be one of the following: STANDARD - opaque rules. (default) PREMIUM - transparent rules. This field is only supported in Global Security Policies of type CLOUD_ARMOR.", "enum": [ "PREMIUM", "STANDARD" @@ -65722,7 +65745,7 @@ "id": "SecurityPolicyRecaptchaOptionsConfig", "properties": { "redirectSiteKey": { - "description": "An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy. The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used.", + "description": "An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy. The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used. This field is only supported in Global Security Policies of type CLOUD_ARMOR.", "type": "string" } }, @@ -65742,7 +65765,7 @@ "id": "SecurityPolicyRule", "properties": { "action": { - "description": "The Action to perform when the rule is matched. The following are the valid actions: - allow: allow access to target. - deny(STATUS): deny access to target, returns the HTTP response code specified. Valid values for `STATUS` are 403, 404, and 502. - rate_based_ban: limit client traffic to the configured threshold and ban the client if the traffic exceeds the threshold. Configure parameters for this action in RateLimitOptions. Requires rate_limit_options to be set. - redirect: redirect to a different target. This can either be an internal reCAPTCHA redirect, or an external URL-based redirect via a 302 response. Parameters for this action can be configured via redirectOptions. - throttle: limit client traffic to the configured threshold. Configure parameters for this action in rateLimitOptions. Requires rate_limit_options to be set for this. ", + "description": "The Action to perform when the rule is matched. The following are the valid actions: - allow: allow access to target. - deny(STATUS): deny access to target, returns the HTTP response code specified. Valid values for `STATUS` are 403, 404, and 502. - rate_based_ban: limit client traffic to the configured threshold and ban the client if the traffic exceeds the threshold. Configure parameters for this action in RateLimitOptions. Requires rate_limit_options to be set. - redirect: redirect to a different target. This can either be an internal reCAPTCHA redirect, or an external URL-based redirect via a 302 response. Parameters for this action can be configured via redirectOptions. This action is only supported in Global Security Policies of type CLOUD_ARMOR. - throttle: limit client traffic to the configured threshold. Configure parameters for this action in rateLimitOptions. Requires rate_limit_options to be set for this. ", "type": "string" }, "description": { @@ -65767,7 +65790,7 @@ }, "headerAction": { "$ref": "SecurityPolicyRuleHttpHeaderAction", - "description": "Optional, additional actions that are performed on headers." + "description": "Optional, additional actions that are performed on headers. This field is only supported in Global Security Policies of type CLOUD_ARMOR." }, "kind": { "default": "compute#securityPolicyRule", @@ -65797,7 +65820,7 @@ }, "redirectOptions": { "$ref": "SecurityPolicyRuleRedirectOptions", - "description": "Parameters defining the redirect action. Cannot be specified for any other actions." + "description": "Parameters defining the redirect action. Cannot be specified for any other actions. This field is only supported in Global Security Policies of type CLOUD_ARMOR." }, "ruleNumber": { "description": "Identifier for the rule. This is only unique within the given security policy. This can only be set during rule creation, if rule number is not specified it will be generated by the server.", @@ -65863,7 +65886,7 @@ }, "expr": { "$ref": "Expr", - "description": "User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header." + "description": "User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header. Expressions containing `evaluateThreatIntelligence` require Cloud Armor Managed Protection Plus tier and are not supported in Edge Policies nor in Regional Policies. Expressions containing `evaluatePreconfiguredExpr('sourceiplist-*')` require Cloud Armor Managed Protection Plus tier and are only supported in Global Security Policies." }, "versionedExpr": { "description": "Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config.", @@ -66064,12 +66087,12 @@ "type": "string" }, "exceedAction": { - "description": "Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are `deny(STATUS)`, where valid values for `STATUS` are 403, 404, 429, and 502, and `redirect`, where the redirect parameters come from `exceedRedirectOptions` below.", + "description": "Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are `deny(STATUS)`, where valid values for `STATUS` are 403, 404, 429, and 502, and `redirect`, where the redirect parameters come from `exceedRedirectOptions` below. The `redirect` action is only supported in Global Security Policies of type CLOUD_ARMOR.", "type": "string" }, "exceedRedirectOptions": { "$ref": "SecurityPolicyRuleRedirectOptions", - "description": "Parameters defining the redirect action that is used as the exceed action. Cannot be specified if the exceed action is not redirect." + "description": "Parameters defining the redirect action that is used as the exceed action. Cannot be specified if the exceed action is not redirect. This field is only supported in Global Security Policies of type CLOUD_ARMOR." }, "rateLimitThreshold": { "$ref": "SecurityPolicyRuleRateLimitOptionsThreshold", diff --git a/discovery/connectors-v1.json b/discovery/connectors-v1.json index 0b3e1d0f6bf..4624e80ccbe 100644 --- a/discovery/connectors-v1.json +++ b/discovery/connectors-v1.json @@ -1108,7 +1108,7 @@ } } }, - "revision": "20230322", + "revision": "20230403", "rootUrl": "https://connectors.googleapis.com/", "schemas": { "AuditConfig": { @@ -1190,6 +1190,10 @@ ], "type": "string" }, + "oauth2AuthCodeFlow": { + "$ref": "Oauth2AuthCodeFlow", + "description": "Oauth2AuthCodeFlow." + }, "oauth2ClientCredentials": { "$ref": "Oauth2ClientCredentials", "description": "Oauth2ClientCredentials." @@ -1472,6 +1476,10 @@ "$ref": "LockConfig", "description": "Optional. Configuration that indicates whether or not the Connection can be edited." }, + "logConfig": { + "$ref": "ConnectorsLogConfig", + "description": "Optional. Log configuration for the connection." + }, "name": { "description": "Output only. Resource name of the Connection. Format: projects/{project}/locations/{location}/connections/{connection}", "readOnly": true, @@ -1708,6 +1716,14 @@ "readOnly": true, "type": "string" }, + "destinationConfigTemplates": { + "description": "Output only. List of destination configs needed to create a connection.", + "items": { + "$ref": "DestinationConfigTemplate" + }, + "readOnly": true, + "type": "array" + }, "displayName": { "description": "Output only. Display name.", "readOnly": true, @@ -1787,6 +1803,17 @@ }, "type": "object" }, + "ConnectorsLogConfig": { + "description": "Log configuration for the connection.", + "id": "ConnectorsLogConfig", + "properties": { + "enabled": { + "description": "Enabled represents whether logging is enabled or not for a connection.", + "type": "boolean" + } + }, + "type": "object" + }, "Destination": { "id": "Destination", "properties": { @@ -1824,6 +1851,64 @@ }, "type": "object" }, + "DestinationConfigTemplate": { + "description": "DestinationConfigTemplate defines required destinations supported by the Connector.", + "id": "DestinationConfigTemplate", + "properties": { + "defaultPort": { + "description": "The default port.", + "format": "int32", + "type": "integer" + }, + "description": { + "description": "Description.", + "type": "string" + }, + "displayName": { + "description": "Display name of the parameter.", + "type": "string" + }, + "isAdvanced": { + "description": "Whether the current destination tempalate is part of Advanced settings", + "type": "boolean" + }, + "key": { + "description": "Key of the destination.", + "type": "string" + }, + "max": { + "description": "The maximum number of destinations supported for this key.", + "format": "int32", + "type": "integer" + }, + "min": { + "description": "The minimum number of destinations supported for this key.", + "format": "int32", + "type": "integer" + }, + "portFieldType": { + "description": "Whether port number should be provided by customers.", + "enum": [ + "FIELD_TYPE_UNSPECIFIED", + "REQUIRED", + "OPTIONAL", + "NOT_USED" + ], + "enumDescriptions": [ + "", + "", + "", + "" + ], + "type": "string" + }, + "regexPattern": { + "description": "Regex pattern for host.", + "type": "string" + } + }, + "type": "object" + }, "EgressControlConfig": { "description": "Egress control config for connector runtime. These configurations define the rules to identify which outbound domains/hosts needs to be whitelisted. It may be a static information for a particular connector version or it is derived from the configurations provided by the customer in Connection resource.", "id": "EgressControlConfig", @@ -2427,6 +2512,44 @@ }, "type": "object" }, + "Oauth2AuthCodeFlow": { + "description": "Parameters to support Oauth 2.0 Auth Code Grant Authentication. See https://www.rfc-editor.org/rfc/rfc6749#section-1.3.1 for more details.", + "id": "Oauth2AuthCodeFlow", + "properties": { + "authCode": { + "description": "Authorization code to be exchanged for access and refresh tokens.", + "type": "string" + }, + "clientId": { + "description": "Client ID for user-provided OAuth app.", + "type": "string" + }, + "clientSecret": { + "$ref": "Secret", + "description": "Client secret for user-provided OAuth app." + }, + "enablePkce": { + "description": "Whether to enable PKCE when the user performs the auth code flow.", + "type": "boolean" + }, + "pkceVerifier": { + "description": "PKCE verifier to be used during the auth code exchange.", + "type": "string" + }, + "redirectUri": { + "description": "Redirect URI to be provided during the auth code exchange.", + "type": "string" + }, + "scopes": { + "description": "Scopes the connection will request when the user performs the auth code flow.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "Oauth2ClientCredentials": { "description": "Parameters to support Oauth 2.0 Client Credentials Grant Authentication. See https://tools.ietf.org/html/rfc6749#section-1.3.4 for more details.", "id": "Oauth2ClientCredentials", diff --git a/discovery/datacatalog-v1.json b/discovery/datacatalog-v1.json index d58226581c7..fdf06ed275f 100644 --- a/discovery/datacatalog-v1.json +++ b/discovery/datacatalog-v1.json @@ -2134,7 +2134,7 @@ } } }, - "revision": "20230317", + "revision": "20230404", "rootUrl": "https://datacatalog.googleapis.com/", "schemas": { "Binding": { @@ -4159,14 +4159,14 @@ "id": "GoogleCloudDatacatalogV1TaggedEntry", "properties": { "absentTags": { - "description": "Tags that should be deleted from the Data Catalog. Caller should populate template name and column only.", + "description": "Optional. Tags that should be deleted from the Data Catalog. Caller should populate template name and column only.", "items": { "$ref": "GoogleCloudDatacatalogV1Tag" }, "type": "array" }, "presentTags": { - "description": "Tags that should be ingested into the Data Catalog. Caller should populate template name, column and fields.", + "description": "Optional. Tags that should be ingested into the Data Catalog. Caller should populate template name, column and fields.", "items": { "$ref": "GoogleCloudDatacatalogV1Tag" }, diff --git a/discovery/datacatalog-v1beta1.json b/discovery/datacatalog-v1beta1.json index c18658f3fd6..acc53a51e7d 100644 --- a/discovery/datacatalog-v1beta1.json +++ b/discovery/datacatalog-v1beta1.json @@ -1813,7 +1813,7 @@ } } }, - "revision": "20230324", + "revision": "20230404", "rootUrl": "https://datacatalog.googleapis.com/", "schemas": { "Binding": { @@ -3173,14 +3173,14 @@ "id": "GoogleCloudDatacatalogV1TaggedEntry", "properties": { "absentTags": { - "description": "Tags that should be deleted from the Data Catalog. Caller should populate template name and column only.", + "description": "Optional. Tags that should be deleted from the Data Catalog. Caller should populate template name and column only.", "items": { "$ref": "GoogleCloudDatacatalogV1Tag" }, "type": "array" }, "presentTags": { - "description": "Tags that should be ingested into the Data Catalog. Caller should populate template name, column and fields.", + "description": "Optional. Tags that should be ingested into the Data Catalog. Caller should populate template name, column and fields.", "items": { "$ref": "GoogleCloudDatacatalogV1Tag" }, diff --git a/discovery/datamigration-v1.json b/discovery/datamigration-v1.json index d0ed7b3c74f..d7897ae35bc 100644 --- a/discovery/datamigration-v1.json +++ b/discovery/datamigration-v1.json @@ -1831,7 +1831,7 @@ } } }, - "revision": "20230320", + "revision": "20230327", "rootUrl": "https://datamigration.googleapis.com/", "schemas": { "AlloyDbConnectionProfile": { @@ -2638,7 +2638,7 @@ "DATABASE_ENTITY_TYPE_SYNONYM", "DATABASE_ENTITY_TYPE_DATABASE_PACKAGE", "DATABASE_ENTITY_TYPE_UDT", - "DATABASE_ENTITY_TYPE_MATERIAL_VIEW", + "DATABASE_ENTITY_TYPE_MATERIALIZED_VIEW", "DATABASE_ENTITY_TYPE_DATABASE" ], "enumDescriptions": [ @@ -2656,7 +2656,7 @@ "Synonym.", "Package.", "UDT.", - "Material View.", + "Materialized View.", "Database." ], "type": "string" @@ -4283,7 +4283,7 @@ "DATABASE_ENTITY_TYPE_SYNONYM", "DATABASE_ENTITY_TYPE_DATABASE_PACKAGE", "DATABASE_ENTITY_TYPE_UDT", - "DATABASE_ENTITY_TYPE_MATERIAL_VIEW", + "DATABASE_ENTITY_TYPE_MATERIALIZED_VIEW", "DATABASE_ENTITY_TYPE_DATABASE" ], "enumDescriptions": [ @@ -4301,7 +4301,7 @@ "Synonym.", "Package.", "UDT.", - "Material View.", + "Materialized View.", "Database." ], "type": "string" diff --git a/discovery/displayvideo-v1.json b/discovery/displayvideo-v1.json index e52b09642fe..0b9572be59f 100644 --- a/discovery/displayvideo-v1.json +++ b/discovery/displayvideo-v1.json @@ -8146,7 +8146,7 @@ } } }, - "revision": "20230316", + "revision": "20230406", "rootUrl": "https://displayvideo.googleapis.com/", "schemas": { "ActivateManualTriggerRequest": { @@ -8641,7 +8641,7 @@ "type": "string" }, "mediaId": { - "description": "Media ID of the uploaded asset. This is a unique identifier for the asset. This ID can be passed to other API calls, e.g. CreateCreative to associate the asset with a creative. **On April 5, 2023, the value of this ID will be updated. Before this date, we recommend that you stop using any cached media IDs when creating or updating creatives, and instead upload assets immediately before using them for creative production.** **After April 5, you can update cached media IDs to the new values by retrieving them from associated creative resources or re-uploading them.**", + "description": "Media ID of the uploaded asset. This is a unique identifier for the asset. This ID can be passed to other API calls, e.g. CreateCreative to associate the asset with a creative. The Media ID space updated on **April 5, 2023**. Update media IDs cached before **April 5, 2023** by retrieving the new media ID from associated creative resources or re-uploading the asset.", "format": "int64", "type": "string" } @@ -8682,18 +8682,18 @@ "The asset is the main asset of the creative.", "The asset is a backup asset of the creative.", "The asset is a polite load asset of the creative.", - "Headline of a native creative. The content must be UTF-8 encoded with a length of no more than 25 characters. This role is only supported in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_APP_INSTALL` * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", - "Long headline of a native creative. The content must be UTF-8 encoded with a length of no more than 50 characters. This role is only supported in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_APP_INSTALL` * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", - "Body text of a native creative. The content must be UTF-8 encoded with a length of no more than 90 characters. This role is only supported in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_APP_INSTALL` * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", - "Long body text of a native creative. The content must be UTF-8 encoded with a length of no more than 150 characters. This role is only supported in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_APP_INSTALL` * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", - "A short, friendly version of the landing page URL to show in the creative. This URL gives people an idea of where they'll arrive after they click on the creative. The content must be UTF-8 encoded with a length of no more than 30 characters. For example, if the landing page URL is 'http://www.example.com/page', the caption URL can be 'example.com'. The protocol (http://) is optional, but the URL can't contain spaces or special characters. This role is only supported in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_APP_INSTALL` * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", - "The text to use on the call-to-action button of a native creative. The content must be UTF-8 encoded with a length of no more than 15 characters. This role is only supported in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_APP_INSTALL` * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", - "The text that identifies the advertiser or brand name. The content must be UTF-8 encoded with a length of no more than 25 characters. This role is only supported in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_APP_INSTALL` * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", - "The purchase price of your app in the Google play store or iOS app store (for example, $5.99). Note that this value is not automatically synced with the actual value listed in the store. It will always be the one provided when save the creative. The content must be UTF-8 encoded with a length of no more than 15 characters. This role is only supported in following creative_type: * `CREATIVE_TYPE_NATIVE_APP_INSTALL` * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE`", - "The ID of an Android app in the Google play store. You can find this ID in the App’s Google Play Store URL after ‘id’. For example, in https://play.google.com/store/apps/details?id=com.company.appname the identifier is com.company.appname. This role is only supported in following creative_type: * `CREATIVE_TYPE_NATIVE_APP_INSTALL` * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE`", - "The ID of an iOS app in the Apple app store. This ID number can be found in the Apple App Store URL as the string of numbers directly after \"id\". For example, in https://apps.apple.com/us/app/gmail-email-by-google/id422689480 the ID is 422689480. This role is only supported in following creative_type: * `CREATIVE_TYPE_NATIVE_APP_INSTALL` * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE`", - "The rating of an app in the Google play store or iOS app store. Note that this value is not automatically synced with the actual rating in the store. It will always be the one provided when save the creative. This role is only supported in following creative_type: * `CREATIVE_TYPE_NATIVE_APP_INSTALL` * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE`", - "The icon of a creative. This role is only supported and required in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_APP_INSTALL` * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE`", + "Headline of a native creative. The content must be UTF-8 encoded with a length of no more than 25 characters. This role is only supported in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", + "Long headline of a native creative. The content must be UTF-8 encoded with a length of no more than 50 characters. This role is only supported in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", + "Body text of a native creative. The content must be UTF-8 encoded with a length of no more than 90 characters. This role is only supported in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", + "Long body text of a native creative. The content must be UTF-8 encoded with a length of no more than 150 characters. This role is only supported in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", + "A short, friendly version of the landing page URL to show in the creative. This URL gives people an idea of where they'll arrive after they click on the creative. The content must be UTF-8 encoded with a length of no more than 30 characters. For example, if the landing page URL is 'http://www.example.com/page', the caption URL can be 'example.com'. The protocol (http://) is optional, but the URL can't contain spaces or special characters. This role is only supported in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", + "The text to use on the call-to-action button of a native creative. The content must be UTF-8 encoded with a length of no more than 15 characters. This role is only supported in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", + "The text that identifies the advertiser or brand name. The content must be UTF-8 encoded with a length of no more than 25 characters. This role is only supported in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", + "The purchase price of your app in the Google play store or iOS app store (for example, $5.99). Note that this value is not automatically synced with the actual value listed in the store. It will always be the one provided when save the creative. The content must be UTF-8 encoded with a length of no more than 15 characters. Assets of this role are read-only.", + "The ID of an Android app in the Google play store. You can find this ID in the App’s Google Play Store URL after ‘id’. For example, in https://play.google.com/store/apps/details?id=com.company.appname the identifier is com.company.appname. Assets of this role are read-only.", + "The ID of an iOS app in the Apple app store. This ID number can be found in the Apple App Store URL as the string of numbers directly after \"id\". For example, in https://apps.apple.com/us/app/gmail-email-by-google/id422689480 the ID is 422689480. Assets of this role are read-only.", + "The rating of an app in the Google play store or iOS app store. Note that this value is not automatically synced with the actual rating in the store. It will always be the one provided when save the creative. Assets of this role are read-only.", + "The icon of a creative. This role is only supported and required in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE`", "The cover image of a native video creative. This role is only supported and required in following creative_type: * `CREATIVE_TYPE_VIDEO`" ], "type": "string" @@ -10912,7 +10912,7 @@ "id": "Creative", "properties": { "additionalDimensions": { - "description": "Additional dimensions. Applicable when creative_type is one of: * `CREATIVE_TYPE_STANDARD` * `CREATIVE_TYPE_EXPANDABLE` * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_TEMPLATED_APP_INSTALL` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_LIGHTBOX` * `CREATIVE_TYPE_NATIVE_APP_INSTALL` * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE` * `CREATIVE_TYPE_PUBLISHER_HOSTED` If this field is specified, width_pixels and height_pixels are both required and must be greater than or equal to 0.", + "description": "Additional dimensions. Applicable when creative_type is one of: * `CREATIVE_TYPE_STANDARD` * `CREATIVE_TYPE_EXPANDABLE` * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_LIGHTBOX` * `CREATIVE_TYPE_PUBLISHER_HOSTED` If this field is specified, width_pixels and height_pixels are both required and must be greater than or equal to 0.", "items": { "$ref": "Dimensions" }, @@ -10929,7 +10929,7 @@ "type": "string" }, "assets": { - "description": "Required. Assets associated to this creative. Assets can be associated to the creative in one of following roles: * `ASSET_ROLE_UNSPECIFIED` * `ASSET_ROLE_MAIN` * `ASSET_ROLE_BACKUP` * `ASSET_ROLE_POLITE_LOAD`", + "description": "Required. Assets associated to this creative.", "items": { "$ref": "AssetAssociation" }, @@ -10943,7 +10943,7 @@ }, "cmTrackingAd": { "$ref": "CmTrackingAd", - "description": "The Campaign Manager 360 tracking ad associated with the creative. Optional for the following creative_type when created by an advertiser that uses both Campaign Manager 360 and third-party ad serving: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_APP_INSTALL` * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE` Output only for other cases." + "description": "The Campaign Manager 360 tracking ad associated with the creative. Optional for the following creative_type when created by an advertiser that uses both Campaign Manager 360 and third-party ad serving: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` Output only for other cases." }, "companionCreativeIds": { "description": "The IDs of companion creatives for a video creative. You can assign existing display creatives (with image or HTML5 assets) to serve surrounding the publisher's video player. Companions display around the video player while the video is playing and remain after the video has completed. Creatives contain additional dimensions can not be companion creatives. This field is only supported for following creative_type: * `CREATIVE_TYPE_AUDIO` * `CREATIVE_TYPE_VIDEO`", @@ -11021,8 +11021,8 @@ "Square native creative. Create and update methods are supported for this creative type if the hosting_source is `HOSTING_SOURCE_HOSTED`", "Interstitial creative including both display and video. Create and update methods are **not** supported for this creative type.", "Responsive and expandable Lightbox creative. Create and update methods are **not** supported for this creative type.", - "Native app install creative. Create and update methods are supported for this creative type if the hosting_source is `HOSTING_SOURCE_HOSTED`", - "Square native app install creative. Create and update methods are supported for this creative type if the hosting_source is `HOSTING_SOURCE_HOSTED`", + "Native app install creative. Create and update methods are **not** supported for this creative type.", + "Square native app install creative. Create and update methods are **not** supported for this creative type.", "Audio creative. Create and update methods are supported for this creative type if the hosting_source is `HOSTING_SOURCE_HOSTED`", "Publisher hosted creative. Create and update methods are **not** supported for this creative type.", "Native video creative. Create and update methods are supported for this creative type if the hosting_source is `HOSTING_SOURCE_HOSTED`", @@ -11032,7 +11032,7 @@ }, "dimensions": { "$ref": "Dimensions", - "description": "Required. Primary dimensions of the creative. Applicable to all creative types. The value of width_pixels and height_pixels defaults to `0` when creative_type is one of: * `CREATIVE_TYPE_VIDEO` * `CREATIVE_TYPE_TEMPLATED_APP_INSTALL_INTERSTITIAL` * `CREATIVE_TYPE_AUDIO` * `CREATIVE_TYPE_NATIVE_VIDEO` * `CREATIVE_TYPE_TEMPLATED_APP_INSTALL_VIDEO`" + "description": "Required. Primary dimensions of the creative. Applicable to all creative types. The value of width_pixels and height_pixels defaults to `0` when creative_type is one of: * `CREATIVE_TYPE_VIDEO` * `CREATIVE_TYPE_AUDIO` * `CREATIVE_TYPE_NATIVE_VIDEO`" }, "displayName": { "description": "Required. The display name of the creative. Must be UTF-8 encoded with a maximum size of 240 bytes.", @@ -11121,7 +11121,7 @@ "Hosting source is not specified or is unknown in this version.", "A creative synced from Campaign Manager 360. Create and update methods are **not** supported for this hosting type.", "A creative hosted by a third-party ad server (3PAS). Create and update methods are supported for this hosting type if the creative_type is one of the following: * `CREATIVE_TYPE_AUDIO` * `CREATIVE_TYPE_EXPANDABLE` * `CREATIVE_TYPE_STANDARD` * `CREATIVE_TYPE_VIDEO`", - "A creative created in DV360 and hosted by Campaign Manager 360. Create and update methods are supported for this hosting type if the creative_type is one of the following: * `CREATIVE_TYPE_AUDIO` * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_APP_INSTALL` * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO` * `CREATIVE_TYPE_STANDARD` * `CREATIVE_TYPE_VIDEO`", + "A creative created in DV360 and hosted by Campaign Manager 360. Create and update methods are supported for this hosting type if the creative_type is one of the following: * `CREATIVE_TYPE_AUDIO` * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO` * `CREATIVE_TYPE_STANDARD` * `CREATIVE_TYPE_VIDEO`", "A rich media creative created in Studio and hosted by Campaign Manager 360. Create and update methods are **not** supported for this hosting type." ], "type": "string" @@ -11140,7 +11140,7 @@ "type": "string" }, "jsTrackerUrl": { - "description": "JavaScript measurement URL from supported third-party verification providers (ComScore, DoubleVerify, IAS, Moat). HTML script tags are not supported. This field is only supported in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_APP_INSTALL` * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", + "description": "JavaScript measurement URL from supported third-party verification providers (ComScore, DoubleVerify, IAS, Moat). HTML script tags are not supported. This field is only writeable in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", "type": "string" }, "lineItemIds": { @@ -11229,7 +11229,7 @@ "type": "array" }, "trackerUrls": { - "description": "Tracking URLs for analytics providers or third-party ad technology vendors. The URLs must start with https (except on inventory that doesn't require SSL compliance). If using macros in your URL, use only macros supported by Display & Video 360. Standard URLs only, no IMG or SCRIPT tags. This field is only supported in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_APP_INSTALL` * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", + "description": "Tracking URLs for analytics providers or third-party ad technology vendors. The URLs must start with https (except on inventory that doesn't require SSL compliance). If using macros in your URL, use only macros supported by Display & Video 360. Standard URLs only, no IMG or SCRIPT tags. This field is only writeable in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", "items": { "type": "string" }, @@ -11298,8 +11298,8 @@ "Square native creative. Create and update methods are supported for this creative type if the hosting_source is `HOSTING_SOURCE_HOSTED`", "Interstitial creative including both display and video. Create and update methods are **not** supported for this creative type.", "Responsive and expandable Lightbox creative. Create and update methods are **not** supported for this creative type.", - "Native app install creative. Create and update methods are supported for this creative type if the hosting_source is `HOSTING_SOURCE_HOSTED`", - "Square native app install creative. Create and update methods are supported for this creative type if the hosting_source is `HOSTING_SOURCE_HOSTED`", + "Native app install creative. Create and update methods are **not** supported for this creative type.", + "Square native app install creative. Create and update methods are **not** supported for this creative type.", "Audio creative. Create and update methods are supported for this creative type if the hosting_source is `HOSTING_SOURCE_HOSTED`", "Publisher hosted creative. Create and update methods are **not** supported for this creative type.", "Native video creative. Create and update methods are supported for this creative type if the hosting_source is `HOSTING_SOURCE_HOSTED`", diff --git a/discovery/displayvideo-v2.json b/discovery/displayvideo-v2.json index 48a458a7a9b..254fc8803af 100644 --- a/discovery/displayvideo-v2.json +++ b/discovery/displayvideo-v2.json @@ -9172,7 +9172,7 @@ } } }, - "revision": "20230316", + "revision": "20230406", "rootUrl": "https://displayvideo.googleapis.com/", "schemas": { "ActivateManualTriggerRequest": { @@ -9748,7 +9748,7 @@ "type": "string" }, "mediaId": { - "description": "Media ID of the uploaded asset. This is a unique identifier for the asset. This ID can be passed to other API calls, e.g. CreateCreative to associate the asset with a creative. **On April 5, 2023, the value of this ID will be updated. Before this date, we recommend that you stop using any cached media IDs when creating or updating creatives, and instead upload assets immediately before using them for creative production.** **After April 5, you can update cached media IDs to the new values by retrieving them from associated creative resources or re-uploading them.**", + "description": "Media ID of the uploaded asset. This is a unique identifier for the asset. This ID can be passed to other API calls, e.g. CreateCreative to associate the asset with a creative. The Media ID space updated on **April 5, 2023**. Update media IDs cached before **April 5, 2023** by retrieving the new media ID from associated creative resources or re-uploading the asset.", "format": "int64", "type": "string" } @@ -9789,18 +9789,18 @@ "The asset is the main asset of the creative.", "The asset is a backup asset of the creative.", "The asset is a polite load asset of the creative.", - "Headline of a native creative. The content must be UTF-8 encoded with a length of no more than 25 characters. This role is only supported in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_APP_INSTALL` * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", - "Long headline of a native creative. The content must be UTF-8 encoded with a length of no more than 50 characters. This role is only supported in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_APP_INSTALL` * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", - "Body text of a native creative. The content must be UTF-8 encoded with a length of no more than 90 characters. This role is only supported in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_APP_INSTALL` * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", - "Long body text of a native creative. The content must be UTF-8 encoded with a length of no more than 150 characters. This role is only supported in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_APP_INSTALL` * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", - "A short, friendly version of the landing page URL to show in the creative. This URL gives people an idea of where they'll arrive after they click on the creative. The content must be UTF-8 encoded with a length of no more than 30 characters. For example, if the landing page URL is 'http://www.example.com/page', the caption URL can be 'example.com'. The protocol (http://) is optional, but the URL can't contain spaces or special characters. This role is only supported in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_APP_INSTALL` * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", - "The text to use on the call-to-action button of a native creative. The content must be UTF-8 encoded with a length of no more than 15 characters. This role is only supported in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_APP_INSTALL` * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", - "The text that identifies the advertiser or brand name. The content must be UTF-8 encoded with a length of no more than 25 characters. This role is only supported in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_APP_INSTALL` * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", - "The purchase price of your app in the Google play store or iOS app store (for example, $5.99). Note that this value is not automatically synced with the actual value listed in the store. It will always be the one provided when save the creative. The content must be UTF-8 encoded with a length of no more than 15 characters. This role is only supported in following creative_type: * `CREATIVE_TYPE_NATIVE_APP_INSTALL` * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE`", - "The ID of an Android app in the Google play store. You can find this ID in the App’s Google Play Store URL after ‘id’. For example, in https://play.google.com/store/apps/details?id=com.company.appname the identifier is com.company.appname. This role is only supported in following creative_type: * `CREATIVE_TYPE_NATIVE_APP_INSTALL` * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE`", - "The ID of an iOS app in the Apple app store. This ID number can be found in the Apple App Store URL as the string of numbers directly after \"id\". For example, in https://apps.apple.com/us/app/gmail-email-by-google/id422689480 the ID is 422689480. This role is only supported in following creative_type: * `CREATIVE_TYPE_NATIVE_APP_INSTALL` * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE`", - "The rating of an app in the Google play store or iOS app store. Note that this value is not automatically synced with the actual rating in the store. It will always be the one provided when save the creative. This role is only supported in following creative_type: * `CREATIVE_TYPE_NATIVE_APP_INSTALL` * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE`", - "The icon of a creative. This role is only supported and required in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_APP_INSTALL` * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE`", + "Headline of a native creative. The content must be UTF-8 encoded with a length of no more than 25 characters. This role is only supported in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", + "Long headline of a native creative. The content must be UTF-8 encoded with a length of no more than 50 characters. This role is only supported in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", + "Body text of a native creative. The content must be UTF-8 encoded with a length of no more than 90 characters. This role is only supported in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", + "Long body text of a native creative. The content must be UTF-8 encoded with a length of no more than 150 characters. This role is only supported in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", + "A short, friendly version of the landing page URL to show in the creative. This URL gives people an idea of where they'll arrive after they click on the creative. The content must be UTF-8 encoded with a length of no more than 30 characters. For example, if the landing page URL is 'http://www.example.com/page', the caption URL can be 'example.com'. The protocol (http://) is optional, but the URL can't contain spaces or special characters. This role is only supported in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", + "The text to use on the call-to-action button of a native creative. The content must be UTF-8 encoded with a length of no more than 15 characters. This role is only supported in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", + "The text that identifies the advertiser or brand name. The content must be UTF-8 encoded with a length of no more than 25 characters. This role is only supported in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", + "The purchase price of your app in the Google play store or iOS app store (for example, $5.99). Note that this value is not automatically synced with the actual value listed in the store. It will always be the one provided when save the creative. The content must be UTF-8 encoded with a length of no more than 15 characters. Assets of this role are read-only.", + "The ID of an Android app in the Google play store. You can find this ID in the App’s Google Play Store URL after ‘id’. For example, in https://play.google.com/store/apps/details?id=com.company.appname the identifier is com.company.appname. Assets of this role are read-only.", + "The ID of an iOS app in the Apple app store. This ID number can be found in the Apple App Store URL as the string of numbers directly after \"id\". For example, in https://apps.apple.com/us/app/gmail-email-by-google/id422689480 the ID is 422689480. Assets of this role are read-only.", + "The rating of an app in the Google play store or iOS app store. Note that this value is not automatically synced with the actual rating in the store. It will always be the one provided when save the creative. Assets of this role are read-only.", + "The icon of a creative. This role is only supported and required in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE`", "The cover image of a native video creative. This role is only supported and required in following creative_type: * `CREATIVE_TYPE_VIDEO`" ], "type": "string" @@ -12210,7 +12210,7 @@ "id": "Creative", "properties": { "additionalDimensions": { - "description": "Additional dimensions. Applicable when creative_type is one of: * `CREATIVE_TYPE_STANDARD` * `CREATIVE_TYPE_EXPANDABLE` * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_TEMPLATED_APP_INSTALL` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_LIGHTBOX` * `CREATIVE_TYPE_NATIVE_APP_INSTALL` * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE` * `CREATIVE_TYPE_PUBLISHER_HOSTED` If this field is specified, width_pixels and height_pixels are both required and must be greater than or equal to 0.", + "description": "Additional dimensions. Applicable when creative_type is one of: * `CREATIVE_TYPE_STANDARD` * `CREATIVE_TYPE_EXPANDABLE` * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_LIGHTBOX` * `CREATIVE_TYPE_PUBLISHER_HOSTED` If this field is specified, width_pixels and height_pixels are both required and must be greater than or equal to 0.", "items": { "$ref": "Dimensions" }, @@ -12227,7 +12227,7 @@ "type": "string" }, "assets": { - "description": "Required. Assets associated to this creative. Assets can be associated to the creative in one of following roles: * `ASSET_ROLE_UNSPECIFIED` * `ASSET_ROLE_MAIN` * `ASSET_ROLE_BACKUP` * `ASSET_ROLE_POLITE_LOAD`", + "description": "Required. Assets associated to this creative.", "items": { "$ref": "AssetAssociation" }, @@ -12241,7 +12241,7 @@ }, "cmTrackingAd": { "$ref": "CmTrackingAd", - "description": "The Campaign Manager 360 tracking ad associated with the creative. Optional for the following creative_type when created by an advertiser that uses both Campaign Manager 360 and third-party ad serving: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_APP_INSTALL` * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE` Output only for other cases." + "description": "The Campaign Manager 360 tracking ad associated with the creative. Optional for the following creative_type when created by an advertiser that uses both Campaign Manager 360 and third-party ad serving: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` Output only for other cases." }, "companionCreativeIds": { "description": "The IDs of companion creatives for a video creative. You can assign existing display creatives (with image or HTML5 assets) to serve surrounding the publisher's video player. Companions display around the video player while the video is playing and remain after the video has completed. Creatives contain additional dimensions can not be companion creatives. This field is only supported for following creative_type: * `CREATIVE_TYPE_AUDIO` * `CREATIVE_TYPE_VIDEO`", @@ -12319,8 +12319,8 @@ "Square native creative. Create and update methods are supported for this creative type if the hosting_source is `HOSTING_SOURCE_HOSTED`", "Interstitial creative including both display and video. Create and update methods are **not** supported for this creative type.", "Responsive and expandable Lightbox creative. Create and update methods are **not** supported for this creative type.", - "Native app install creative. Create and update methods are supported for this creative type if the hosting_source is `HOSTING_SOURCE_HOSTED`", - "Square native app install creative. Create and update methods are supported for this creative type if the hosting_source is `HOSTING_SOURCE_HOSTED`", + "Native app install creative. Create and update methods are **not** supported for this creative type.", + "Square native app install creative. Create and update methods are **not** supported for this creative type.", "Audio creative. Create and update methods are supported for this creative type if the hosting_source is `HOSTING_SOURCE_HOSTED`", "Publisher hosted creative. Create and update methods are **not** supported for this creative type.", "Native video creative. Create and update methods are supported for this creative type if the hosting_source is `HOSTING_SOURCE_HOSTED`", @@ -12330,7 +12330,7 @@ }, "dimensions": { "$ref": "Dimensions", - "description": "Required. Primary dimensions of the creative. Applicable to all creative types. The value of width_pixels and height_pixels defaults to `0` when creative_type is one of: * `CREATIVE_TYPE_VIDEO` * `CREATIVE_TYPE_TEMPLATED_APP_INSTALL_INTERSTITIAL` * `CREATIVE_TYPE_AUDIO` * `CREATIVE_TYPE_NATIVE_VIDEO` * `CREATIVE_TYPE_TEMPLATED_APP_INSTALL_VIDEO`" + "description": "Required. Primary dimensions of the creative. Applicable to all creative types. The value of width_pixels and height_pixels defaults to `0` when creative_type is one of: * `CREATIVE_TYPE_VIDEO` * `CREATIVE_TYPE_AUDIO` * `CREATIVE_TYPE_NATIVE_VIDEO`" }, "displayName": { "description": "Required. The display name of the creative. Must be UTF-8 encoded with a maximum size of 240 bytes.", @@ -12419,7 +12419,7 @@ "Hosting source is not specified or is unknown in this version.", "A creative synced from Campaign Manager 360. Create and update methods are **not** supported for this hosting type.", "A creative hosted by a third-party ad server (3PAS). Create and update methods are supported for this hosting type if the creative_type is one of the following: * `CREATIVE_TYPE_AUDIO` * `CREATIVE_TYPE_EXPANDABLE` * `CREATIVE_TYPE_STANDARD` * `CREATIVE_TYPE_VIDEO`", - "A creative created in DV360 and hosted by Campaign Manager 360. Create and update methods are supported for this hosting type if the creative_type is one of the following: * `CREATIVE_TYPE_AUDIO` * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_APP_INSTALL` * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO` * `CREATIVE_TYPE_STANDARD` * `CREATIVE_TYPE_VIDEO`", + "A creative created in DV360 and hosted by Campaign Manager 360. Create and update methods are supported for this hosting type if the creative_type is one of the following: * `CREATIVE_TYPE_AUDIO` * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO` * `CREATIVE_TYPE_STANDARD` * `CREATIVE_TYPE_VIDEO`", "A rich media creative created in Studio and hosted by Campaign Manager 360. Create and update methods are **not** supported for this hosting type." ], "type": "string" @@ -12438,7 +12438,7 @@ "type": "string" }, "jsTrackerUrl": { - "description": "JavaScript measurement URL from supported third-party verification providers (ComScore, DoubleVerify, IAS, Moat). HTML script tags are not supported. This field is only supported in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_APP_INSTALL` * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", + "description": "JavaScript measurement URL from supported third-party verification providers (ComScore, DoubleVerify, IAS, Moat). HTML script tags are not supported. This field is only writeable in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", "type": "string" }, "lineItemIds": { @@ -12527,7 +12527,7 @@ "type": "array" }, "trackerUrls": { - "description": "Tracking URLs for analytics providers or third-party ad technology vendors. The URLs must start with https (except on inventory that doesn't require SSL compliance). If using macros in your URL, use only macros supported by Display & Video 360. Standard URLs only, no IMG or SCRIPT tags. This field is only supported in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_APP_INSTALL` * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", + "description": "Tracking URLs for analytics providers or third-party ad technology vendors. The URLs must start with https (except on inventory that doesn't require SSL compliance). If using macros in your URL, use only macros supported by Display & Video 360. Standard URLs only, no IMG or SCRIPT tags. This field is only writeable in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", "items": { "type": "string" }, @@ -12596,8 +12596,8 @@ "Square native creative. Create and update methods are supported for this creative type if the hosting_source is `HOSTING_SOURCE_HOSTED`", "Interstitial creative including both display and video. Create and update methods are **not** supported for this creative type.", "Responsive and expandable Lightbox creative. Create and update methods are **not** supported for this creative type.", - "Native app install creative. Create and update methods are supported for this creative type if the hosting_source is `HOSTING_SOURCE_HOSTED`", - "Square native app install creative. Create and update methods are supported for this creative type if the hosting_source is `HOSTING_SOURCE_HOSTED`", + "Native app install creative. Create and update methods are **not** supported for this creative type.", + "Square native app install creative. Create and update methods are **not** supported for this creative type.", "Audio creative. Create and update methods are supported for this creative type if the hosting_source is `HOSTING_SOURCE_HOSTED`", "Publisher hosted creative. Create and update methods are **not** supported for this creative type.", "Native video creative. Create and update methods are supported for this creative type if the hosting_source is `HOSTING_SOURCE_HOSTED`", diff --git a/discovery/index.json b/discovery/index.json index ba03e63a404..564be94c339 100644 --- a/discovery/index.json +++ b/discovery/index.json @@ -5404,7 +5404,7 @@ "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/storage/docs/json_api/v1/", + "documentationLink": "https://cloud.google.com/storage/docs/apis", "preferred": true }, { diff --git a/discovery/networkservices-v1.json b/discovery/networkservices-v1.json index 9a7f32ff39d..840c1eb1f3c 100644 --- a/discovery/networkservices-v1.json +++ b/discovery/networkservices-v1.json @@ -1496,461 +1496,6 @@ } } }, - "multicastConsumerAssociations": { - "methods": { - "getIamPolicy": { - "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/multicastConsumerAssociations/{multicastConsumerAssociationsId}:getIamPolicy", - "httpMethod": "GET", - "id": "networkservices.projects.locations.multicastConsumerAssociations.getIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "options.requestedPolicyVersion": { - "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", - "format": "int32", - "location": "query", - "type": "integer" - }, - "resource": { - "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/multicastConsumerAssociations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:getIamPolicy", - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "setIamPolicy": { - "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/multicastConsumerAssociations/{multicastConsumerAssociationsId}:setIamPolicy", - "httpMethod": "POST", - "id": "networkservices.projects.locations.multicastConsumerAssociations.setIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/multicastConsumerAssociations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:setIamPolicy", - "request": { - "$ref": "SetIamPolicyRequest" - }, - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "testIamPermissions": { - "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/multicastConsumerAssociations/{multicastConsumerAssociationsId}:testIamPermissions", - "httpMethod": "POST", - "id": "networkservices.projects.locations.multicastConsumerAssociations.testIamPermissions", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/multicastConsumerAssociations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:testIamPermissions", - "request": { - "$ref": "TestIamPermissionsRequest" - }, - "response": { - "$ref": "TestIamPermissionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - }, - "multicastDomainActivations": { - "methods": { - "getIamPolicy": { - "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/multicastDomainActivations/{multicastDomainActivationsId}:getIamPolicy", - "httpMethod": "GET", - "id": "networkservices.projects.locations.multicastDomainActivations.getIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "options.requestedPolicyVersion": { - "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", - "format": "int32", - "location": "query", - "type": "integer" - }, - "resource": { - "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/multicastDomainActivations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:getIamPolicy", - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "setIamPolicy": { - "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/multicastDomainActivations/{multicastDomainActivationsId}:setIamPolicy", - "httpMethod": "POST", - "id": "networkservices.projects.locations.multicastDomainActivations.setIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/multicastDomainActivations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:setIamPolicy", - "request": { - "$ref": "SetIamPolicyRequest" - }, - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "testIamPermissions": { - "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/multicastDomainActivations/{multicastDomainActivationsId}:testIamPermissions", - "httpMethod": "POST", - "id": "networkservices.projects.locations.multicastDomainActivations.testIamPermissions", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/multicastDomainActivations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:testIamPermissions", - "request": { - "$ref": "TestIamPermissionsRequest" - }, - "response": { - "$ref": "TestIamPermissionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - }, - "multicastDomains": { - "methods": { - "getIamPolicy": { - "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/multicastDomains/{multicastDomainsId}:getIamPolicy", - "httpMethod": "GET", - "id": "networkservices.projects.locations.multicastDomains.getIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "options.requestedPolicyVersion": { - "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", - "format": "int32", - "location": "query", - "type": "integer" - }, - "resource": { - "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/multicastDomains/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:getIamPolicy", - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "setIamPolicy": { - "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/multicastDomains/{multicastDomainsId}:setIamPolicy", - "httpMethod": "POST", - "id": "networkservices.projects.locations.multicastDomains.setIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/multicastDomains/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:setIamPolicy", - "request": { - "$ref": "SetIamPolicyRequest" - }, - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "testIamPermissions": { - "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/multicastDomains/{multicastDomainsId}:testIamPermissions", - "httpMethod": "POST", - "id": "networkservices.projects.locations.multicastDomains.testIamPermissions", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/multicastDomains/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:testIamPermissions", - "request": { - "$ref": "TestIamPermissionsRequest" - }, - "response": { - "$ref": "TestIamPermissionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - }, - "multicastGroupDefinitions": { - "methods": { - "getIamPolicy": { - "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/multicastGroupDefinitions/{multicastGroupDefinitionsId}:getIamPolicy", - "httpMethod": "GET", - "id": "networkservices.projects.locations.multicastGroupDefinitions.getIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "options.requestedPolicyVersion": { - "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", - "format": "int32", - "location": "query", - "type": "integer" - }, - "resource": { - "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/multicastGroupDefinitions/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:getIamPolicy", - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "setIamPolicy": { - "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/multicastGroupDefinitions/{multicastGroupDefinitionsId}:setIamPolicy", - "httpMethod": "POST", - "id": "networkservices.projects.locations.multicastGroupDefinitions.setIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/multicastGroupDefinitions/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:setIamPolicy", - "request": { - "$ref": "SetIamPolicyRequest" - }, - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "testIamPermissions": { - "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/multicastGroupDefinitions/{multicastGroupDefinitionsId}:testIamPermissions", - "httpMethod": "POST", - "id": "networkservices.projects.locations.multicastGroupDefinitions.testIamPermissions", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/multicastGroupDefinitions/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:testIamPermissions", - "request": { - "$ref": "TestIamPermissionsRequest" - }, - "response": { - "$ref": "TestIamPermissionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - }, - "multicastGroups": { - "methods": { - "getIamPolicy": { - "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/multicastGroups/{multicastGroupsId}:getIamPolicy", - "httpMethod": "GET", - "id": "networkservices.projects.locations.multicastGroups.getIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "options.requestedPolicyVersion": { - "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", - "format": "int32", - "location": "query", - "type": "integer" - }, - "resource": { - "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/multicastGroups/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:getIamPolicy", - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "setIamPolicy": { - "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/multicastGroups/{multicastGroupsId}:setIamPolicy", - "httpMethod": "POST", - "id": "networkservices.projects.locations.multicastGroups.setIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/multicastGroups/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:setIamPolicy", - "request": { - "$ref": "SetIamPolicyRequest" - }, - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "testIamPermissions": { - "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/multicastGroups/{multicastGroupsId}:testIamPermissions", - "httpMethod": "POST", - "id": "networkservices.projects.locations.multicastGroups.testIamPermissions", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/multicastGroups/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:testIamPermissions", - "request": { - "$ref": "TestIamPermissionsRequest" - }, - "response": { - "$ref": "TestIamPermissionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - }, "operations": { "methods": { "cancel": { @@ -2603,7 +2148,7 @@ } } }, - "revision": "20230323", + "revision": "20230404", "rootUrl": "https://networkservices.googleapis.com/", "schemas": { "AuditConfig": { diff --git a/discovery/secretmanager-v1.json b/discovery/secretmanager-v1.json index de54ee882f2..9944fc99c3d 100644 --- a/discovery/secretmanager-v1.json +++ b/discovery/secretmanager-v1.json @@ -643,7 +643,7 @@ } } }, - "revision": "20230204", + "revision": "20230407", "rootUrl": "https://secretmanager.googleapis.com/", "schemas": { "AccessSecretVersionResponse": { @@ -1247,7 +1247,7 @@ "id": "Topic", "properties": { "name": { - "description": "Required. The resource name of the Pub/Sub topic that will be published to, in the following format: `projects/*/topics/*`. For publication to succeed, the Secret Manager P4SA must have `pubsub.publisher` permissions on the topic.", + "description": "Required. The resource name of the Pub/Sub topic that will be published to, in the following format: `projects/*/topics/*`. For publication to succeed, the Secret Manager service agent must have the `pubsub.topic.publish` permission on the topic. The Pub/Sub Publisher role (`roles/pubsub.publisher`) includes this permission.", "type": "string" } }, diff --git a/discovery/servicenetworking-v1.json b/discovery/servicenetworking-v1.json index cc44f8c936f..94edd430f9a 100644 --- a/discovery/servicenetworking-v1.json +++ b/discovery/servicenetworking-v1.json @@ -865,7 +865,7 @@ } } }, - "revision": "20230402", + "revision": "20230409", "rootUrl": "https://servicenetworking.googleapis.com/", "schemas": { "AddDnsRecordSetMetadata": { @@ -2976,7 +2976,7 @@ "type": "array" }, "newIssueUri": { - "description": "Link to a place that API users can report issues. Example: https://issuetracker.google.com/issues/new?component=190865&template=1161103", + "description": "Link to a *public* URI where users can report issues. Example: https://issuetracker.google.com/issues/new?component=190865&template=1161103", "type": "string" }, "organization": { diff --git a/discovery/servicenetworking-v1beta.json b/discovery/servicenetworking-v1beta.json index 762c559177a..45c8577bba2 100644 --- a/discovery/servicenetworking-v1beta.json +++ b/discovery/servicenetworking-v1beta.json @@ -307,7 +307,7 @@ } } }, - "revision": "20230402", + "revision": "20230409", "rootUrl": "https://servicenetworking.googleapis.com/", "schemas": { "AddDnsRecordSetMetadata": { @@ -2226,7 +2226,7 @@ "type": "array" }, "newIssueUri": { - "description": "Link to a place that API users can report issues. Example: https://issuetracker.google.com/issues/new?component=190865&template=1161103", + "description": "Link to a *public* URI where users can report issues. Example: https://issuetracker.google.com/issues/new?component=190865&template=1161103", "type": "string" }, "organization": { diff --git a/discovery/serviceusage-v1.json b/discovery/serviceusage-v1.json index 63768894f75..0d34947ec42 100644 --- a/discovery/serviceusage-v1.json +++ b/discovery/serviceusage-v1.json @@ -426,7 +426,7 @@ } } }, - "revision": "20230405", + "revision": "20230409", "rootUrl": "https://serviceusage.googleapis.com/", "schemas": { "AdminQuotaPolicy": { @@ -904,6 +904,41 @@ }, "type": "object" }, + "ConsumerPolicy": { + "description": "Consumer Policy is a set of rules that define what services or service groups can be used for a cloud resource hierarchy.", + "id": "ConsumerPolicy", + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Annotations is an unstructured key-value map stored with a policy that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. [AIP-128](https://google.aip.dev/128#annotations)", + "type": "object" + }, + "enableRules": { + "description": "Enable rules define usable services and service groups.", + "items": { + "$ref": "EnableRule" + }, + "type": "array" + }, + "etag": { + "description": "An opaque tag indicating the current version of the policy, used for concurrency control.", + "type": "string" + }, + "name": { + "description": "Output only. The resource name of the policy. For example, `projects/12345/consumerPolicy`, `folders/12345/consumerPolicy`, `organizations/12345/consumerPolicy`.", + "readOnly": true, + "type": "string" + }, + "updateTime": { + "description": "The last-modified time.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, "Context": { "description": "`Context` defines which contexts an API requests. Example: context: rules: - selector: \"*\" requested: - google.rpc.context.ProjectContext - google.rpc.context.OriginContext The above specifies that all methods in the API request `google.rpc.context.ProjectContext` and `google.rpc.context.OriginContext`. Available context types are defined in package `google.rpc.context`. This also provides mechanism to allowlist any protobuf message extension that can be sent in grpc metadata using “x-goog-ext--bin” and “x-goog-ext--jspb” format. For example, list any service specific protobuf types that can appear in grpc metadata as follows in your yaml file: Example: context: rules: - selector: \"google.example.library.v1.LibraryService.CreateBook\" allowed_request_extensions: - google.foo.v1.NewExtension allowed_response_extensions: - google.foo.v1.NewExtension You can also specify extension ID instead of fully qualified extension name here.", "id": "Context", @@ -1201,6 +1236,50 @@ }, "type": "object" }, + "EnableRule": { + "description": "The consumer policy rule that defines usable services and service groups.", + "id": "EnableRule", + "properties": { + "enableType": { + "description": "Client and resource project enable type.", + "enum": [ + "ENABLE_TYPE_UNSPECIFIED", + "CLIENT", + "RESOURCE", + "V1_COMPATIBLE" + ], + "enumDescriptions": [ + "Unspecified enable type, which means enabled as both client and resource project.", + "Enable all clients under the CRM node specified by `ConsumerPolicy.name` to use the listed services. A client can be an API key, an OAuth client, or a service account.", + "Enable resources in the list services to be created and used under the CRM node specified by the `ConsumerPolicy.name`.", + "Activation made by Service Usage v1 API. This will be how consumers differentiate between policy changes made by v1 and v2 clients and understand what is actually possible based on those different policies." + ], + "type": "string" + }, + "groups": { + "description": "DEPRECATED: Please use field `values`. Service group should have prefix `groups/`. The names of the service groups that are enabled (Not Implemented). go/predefined-service-groups. Example: `groups/googleServices`.", + "items": { + "type": "string" + }, + "type": "array" + }, + "services": { + "description": "DEPRECATED: Please use field `values`. Service should have prefix `services/`. The names of the services that are enabled. Example: `storage.googleapis.com`.", + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "description": "The names of the services or service groups that are enabled. Example: `services/storage.googleapis.com`, groups/googleServices`, groups/allServices`.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "EnableServiceRequest": { "description": "Request message for the `EnableService` method.", "id": "EnableServiceRequest", @@ -2920,6 +2999,12 @@ "properties": {}, "type": "object" }, + "UpdateConsumerPolicyLROMetadata": { + "description": "Metadata for the `UpdateConsumerPolicyLRO` method.", + "id": "UpdateConsumerPolicyLROMetadata", + "properties": {}, + "type": "object" + }, "Usage": { "description": "Configuration controlling usage of a service.", "id": "Usage", diff --git a/discovery/serviceusage-v1beta1.json b/discovery/serviceusage-v1beta1.json index 9f7351be077..b90c33cc5dc 100644 --- a/discovery/serviceusage-v1beta1.json +++ b/discovery/serviceusage-v1beta1.json @@ -959,7 +959,7 @@ } } }, - "revision": "20230405", + "revision": "20230409", "rootUrl": "https://serviceusage.googleapis.com/", "schemas": { "AdminQuotaPolicy": { @@ -1417,6 +1417,41 @@ }, "type": "object" }, + "ConsumerPolicy": { + "description": "Consumer Policy is a set of rules that define what services or service groups can be used for a cloud resource hierarchy.", + "id": "ConsumerPolicy", + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Annotations is an unstructured key-value map stored with a policy that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. [AIP-128](https://google.aip.dev/128#annotations)", + "type": "object" + }, + "enableRules": { + "description": "Enable rules define usable services and service groups.", + "items": { + "$ref": "EnableRule" + }, + "type": "array" + }, + "etag": { + "description": "An opaque tag indicating the current version of the policy, used for concurrency control.", + "type": "string" + }, + "name": { + "description": "Output only. The resource name of the policy. For example, `projects/12345/consumerPolicy`, `folders/12345/consumerPolicy`, `organizations/12345/consumerPolicy`.", + "readOnly": true, + "type": "string" + }, + "updateTime": { + "description": "The last-modified time.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, "ConsumerQuotaLimit": { "description": "Consumer quota settings for a quota limit.", "id": "ConsumerQuotaLimit", @@ -1773,6 +1808,50 @@ }, "type": "object" }, + "EnableRule": { + "description": "The consumer policy rule that defines usable services and service groups.", + "id": "EnableRule", + "properties": { + "enableType": { + "description": "Client and resource project enable type.", + "enum": [ + "ENABLE_TYPE_UNSPECIFIED", + "CLIENT", + "RESOURCE", + "V1_COMPATIBLE" + ], + "enumDescriptions": [ + "Unspecified enable type, which means enabled as both client and resource project.", + "Enable all clients under the CRM node specified by `ConsumerPolicy.name` to use the listed services. A client can be an API key, an OAuth client, or a service account.", + "Enable resources in the list services to be created and used under the CRM node specified by the `ConsumerPolicy.name`.", + "Activation made by Service Usage v1 API. This will be how consumers differentiate between policy changes made by v1 and v2 clients and understand what is actually possible based on those different policies." + ], + "type": "string" + }, + "groups": { + "description": "DEPRECATED: Please use field `values`. Service group should have prefix `groups/`. The names of the service groups that are enabled (Not Implemented). go/predefined-service-groups. Example: `groups/googleServices`.", + "items": { + "type": "string" + }, + "type": "array" + }, + "services": { + "description": "DEPRECATED: Please use field `values`. Service should have prefix `services/`. The names of the services that are enabled. Example: `storage.googleapis.com`.", + "items": { + "type": "string" + }, + "type": "array" + }, + "values": { + "description": "The names of the services or service groups that are enabled. Example: `services/storage.googleapis.com`, groups/googleServices`, groups/allServices`.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "EnableServiceRequest": { "description": "Request message for the `EnableService` method.", "id": "EnableServiceRequest", @@ -3749,6 +3828,12 @@ "properties": {}, "type": "object" }, + "UpdateConsumerPolicyLROMetadata": { + "description": "Metadata for the `UpdateConsumerPolicyLRO` method.", + "id": "UpdateConsumerPolicyLROMetadata", + "properties": {}, + "type": "object" + }, "Usage": { "description": "Configuration controlling usage of a service.", "id": "Usage", diff --git a/discovery/toolresults-v1beta3.json b/discovery/toolresults-v1beta3.json index 8ba20c40db2..a1949be8d2f 100644 --- a/discovery/toolresults-v1beta3.json +++ b/discovery/toolresults-v1beta3.json @@ -1463,7 +1463,7 @@ } } }, - "revision": "20230404", + "revision": "20230410", "rootUrl": "https://toolresults.googleapis.com/", "schemas": { "ANR": { @@ -1905,7 +1905,7 @@ "type": "object" }, "Execution": { - "description": "An Execution represents a collection of Steps. For instance, it could represent: - a mobile test executed across a range of device configurations - a jenkins job with a build step followed by a test step The maximum size of an execution message is 1 MiB. An Execution can be updated until its state is set to COMPLETE at which point it becomes immutable. Next tag: 16", + "description": "An Execution represents a collection of Steps. For instance, it could represent: - a mobile test executed across a range of device configurations - a jenkins job with a build step followed by a test step The maximum size of an execution message is 1 MiB. An Execution can be updated until its state is set to COMPLETE at which point it becomes immutable. Next tag: 17", "id": "Execution", "properties": { "completionTime": { diff --git a/discovery/vmmigration-v1.json b/discovery/vmmigration-v1.json index 8210bfa5705..b664a5090c2 100644 --- a/discovery/vmmigration-v1.json +++ b/discovery/vmmigration-v1.json @@ -1972,7 +1972,7 @@ } } }, - "revision": "20230323", + "revision": "20230330", "rootUrl": "https://vmmigration.googleapis.com/", "schemas": { "AccessKeyCredentials": { @@ -2753,6 +2753,19 @@ }, "type": "object" }, + "CutoverForecast": { + "description": "CutoverForecast holds information about future CutoverJobs of a MigratingVm.", + "id": "CutoverForecast", + "properties": { + "estimatedCutoverJobDuration": { + "description": "Output only. Estimation of the CutoverJob duration.", + "format": "google-duration", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "CutoverJob": { "description": "CutoverJob message describes a cutover of a migrating VM. The CutoverJob is the operation of shutting down the VM, creating a snapshot and clonning the VM using the replicated snapshot.", "id": "CutoverJob", @@ -3452,6 +3465,11 @@ "description": "Output only. Details of the current running replication cycle.", "readOnly": true }, + "cutoverForecast": { + "$ref": "CutoverForecast", + "description": "Output only. Provides details of future CutoverJobs of a MigratingVm. Set to empty when cutover forecast is unavailable.", + "readOnly": true + }, "description": { "description": "The description attached to the migrating VM by the user.", "type": "string" diff --git a/discovery/workloadmanager-v1.json b/discovery/workloadmanager-v1.json index b875d22a800..19c5de89277 100644 --- a/discovery/workloadmanager-v1.json +++ b/discovery/workloadmanager-v1.json @@ -288,213 +288,6 @@ "https://www.googleapis.com/auth/cloud-platform" ] } - }, - "resources": { - "executions": { - "methods": { - "get": { - "description": "Gets details of a single Execution.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/evaluations/{evaluationsId}/executions/{executionsId}", - "httpMethod": "GET", - "id": "workloadmanager.projects.locations.evaluations.executions.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. Name of the resource", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/evaluations/[^/]+/executions/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+name}", - "response": { - "$ref": "Execution" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists Executions in a given project and location.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/evaluations/{evaluationsId}/executions", - "httpMethod": "GET", - "id": "workloadmanager.projects.locations.evaluations.executions.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "filter": { - "description": "Filtering results", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Field to sort by. See https://google.aip.dev/132#ordering for more details.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A token identifying a page of results the server should return.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The resource prefix of the Execution using the form: 'projects/{project}/locations/{location}/evaluations/{evaluation}'", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/evaluations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+parent}/executions", - "response": { - "$ref": "ListExecutionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "run": { - "description": "Creates a new Execution in a given project and location.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/evaluations/{evaluationsId}/executions:run", - "httpMethod": "POST", - "id": "workloadmanager.projects.locations.evaluations.executions.run", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The resource name of the Execution using the form: 'projects/{project}/locations/{location}/evaluations/{evaluation}/executions/{execution}'", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/evaluations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+name}/executions:run", - "request": { - "$ref": "RunEvaluationRequest" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - }, - "resources": { - "results": { - "methods": { - "list": { - "description": "List the running result of a single Execution.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/evaluations/{evaluationsId}/executions/{executionsId}/results", - "httpMethod": "GET", - "id": "workloadmanager.projects.locations.evaluations.executions.results.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "filter": { - "description": "Filtering results", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A token identifying a page of results the server should return.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The execution results. Format: {parent}/evaluations/*/executions/*/results", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/evaluations/[^/]+/executions/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+parent}/results", - "response": { - "$ref": "ListExecutionResultsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - }, - "scannedResources": { - "methods": { - "list": { - "description": "List all scanned resources for a single Execution.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/evaluations/{evaluationsId}/executions/{executionsId}/scannedResources", - "httpMethod": "GET", - "id": "workloadmanager.projects.locations.evaluations.executions.scannedResources.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "filter": { - "description": "Filtering results", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Field to sort by. See https://google.aip.dev/132#ordering for more details.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A token identifying a page of results the server should return.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. parent for ListScannedResourcesRequest", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/evaluations/[^/]+/executions/[^/]+$", - "required": true, - "type": "string" - }, - "rule": { - "description": "rule name", - "location": "query", - "type": "string" - } - }, - "path": "v1/{+parent}/scannedResources", - "response": { - "$ref": "ListScannedResourcesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - } - } } }, "insights": { @@ -651,58 +444,13 @@ ] } } - }, - "rules": { - "methods": { - "list": { - "description": "Lists rules in a given project.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/rules", - "httpMethod": "GET", - "id": "workloadmanager.projects.locations.rules.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "filter": { - "description": "Filter based on primary_category, secondary_category", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A token identifying a page of results the server should return.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The [project] on which to execute the request. The format is: projects/{project_id}/locations/{location} Currently, the pre-defined rules are global available to all projects and all regions", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+parent}/rules", - "response": { - "$ref": "ListRulesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } } } } } } }, - "revision": "20230406", + "revision": "20230308", "rootUrl": "https://workloadmanager.googleapis.com/", "schemas": { "CancelOperationRequest": { @@ -766,10 +514,6 @@ "readOnly": true, "type": "array" }, - "schedule": { - "description": "crontab format schedule for scheduled evaluation, example: 0 */3 * * *", - "type": "string" - }, "updateTime": { "description": "Output only. [Output only] Update time stamp", "format": "google-datetime", @@ -779,109 +523,6 @@ }, "type": "object" }, - "Execution": { - "description": "Message describing Execution object", - "id": "Execution", - "properties": { - "endTime": { - "description": "Output only. [Output only] End time stamp", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "evaluationId": { - "description": "Output only. [Output only] Evaluation ID", - "readOnly": true, - "type": "string" - }, - "inventoryTime": { - "description": "Output only. [Output only] Inventory time stamp", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "Labels as key value pairs", - "type": "object" - }, - "name": { - "description": "The name of execution resource. The format is projects/{project}/locations/{location}/evaluations/{evaluation}/executions/{execution}", - "type": "string" - }, - "runType": { - "description": "type represent whether the execution executed directly by user or scheduled according evaluation.schedule field.", - "enum": [ - "TYPE_UNSPECIFIED", - "ONE_TIME", - "SCHEDULED" - ], - "enumDescriptions": [ - "type of execution is unspecified", - "type of execution is one time", - "type of execution is scheduled" - ], - "type": "string" - }, - "startTime": { - "description": "Output only. [Output only] Start time stamp", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "state": { - "description": "Output only. [Output only] State", - "enum": [ - "STATE_UNSPECIFIED", - "RUNNING", - "SUCCEEDED", - "FAILED" - ], - "enumDescriptions": [ - "state of execution is unspecified", - "the execution is running in backend service", - "the execution run success", - "the execution run failed" - ], - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "ExecutionResult": { - "description": "Message describing the result of an execution", - "id": "ExecutionResult", - "properties": { - "documentationUrl": { - "description": "the document url of the rule", - "type": "string" - }, - "resource": { - "$ref": "Resource", - "description": "the violate resource" - }, - "rule": { - "description": "the rule which violate in execution", - "type": "string" - }, - "severity": { - "description": "severity of violation", - "type": "string" - }, - "violationDetails": { - "$ref": "ViolationDetails", - "description": "the details of violation in result" - }, - "violationMessage": { - "description": "the violation message of an execution", - "type": "string" - } - }, - "type": "object" - }, "GceInstanceFilter": { "description": "Message describing compute engine instance filter", "id": "GceInstanceFilter", @@ -942,49 +583,6 @@ }, "type": "object" }, - "ListExecutionResultsResponse": { - "description": "Message for response of list execution results", - "id": "ListExecutionResultsResponse", - "properties": { - "executionResults": { - "description": "The versions from the specified publisher.", - "items": { - "$ref": "ExecutionResult" - }, - "type": "array" - }, - "nextPageToken": { - "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", - "type": "string" - } - }, - "type": "object" - }, - "ListExecutionsResponse": { - "description": "Message for response to listing Executions", - "id": "ListExecutionsResponse", - "properties": { - "executions": { - "description": "The list of Execution", - "items": { - "$ref": "Execution" - }, - "type": "array" - }, - "nextPageToken": { - "description": "A token identifying a page of results the server should return.", - "type": "string" - }, - "unreachable": { - "description": "Locations that could not be reached.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, "ListLocationsResponse": { "description": "The response message for Locations.ListLocations.", "id": "ListLocationsResponse", @@ -1021,42 +619,6 @@ }, "type": "object" }, - "ListRulesResponse": { - "description": "Mesesage of response of list rules", - "id": "ListRulesResponse", - "properties": { - "nextPageToken": { - "description": "A token identifying a page of results the server should return.", - "type": "string" - }, - "rules": { - "description": "all rules in response", - "items": { - "$ref": "Rule" - }, - "type": "array" - } - }, - "type": "object" - }, - "ListScannedResourcesResponse": { - "description": "Message for response to list scanned resources", - "id": "ListScannedResourcesResponse", - "properties": { - "nextPageToken": { - "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", - "type": "string" - }, - "scannedResources": { - "description": "All scanned resources in response", - "items": { - "$ref": "ScannedResource" - }, - "type": "array" - } - }, - "type": "object" - }, "Location": { "description": "A resource that represents Google Cloud Platform location.", "id": "Location", @@ -1170,25 +732,6 @@ }, "type": "object" }, - "Resource": { - "description": "Message represent resource in execution result", - "id": "Resource", - "properties": { - "name": { - "description": "the name of the resource", - "type": "string" - }, - "serviceAccount": { - "description": "the service account accosiate with resource", - "type": "string" - }, - "type": { - "description": "the type of reresource", - "type": "string" - } - }, - "type": "object" - }, "ResourceFilter": { "description": "Message describing resource filters", "id": "ResourceFilter", @@ -1251,73 +794,6 @@ }, "type": "object" }, - "Rule": { - "description": "Message represent a rule", - "id": "Rule", - "properties": { - "description": { - "description": "descrite rule in plain language", - "type": "string" - }, - "displayName": { - "description": "the name display in UI", - "type": "string" - }, - "errorMessage": { - "description": "the message template for rule", - "type": "string" - }, - "name": { - "description": "rule name", - "type": "string" - }, - "primaryCategory": { - "description": "the primary category", - "type": "string" - }, - "remediation": { - "description": "the remediation for the rule", - "type": "string" - }, - "revisionId": { - "description": "Output only. the version of the rule", - "readOnly": true, - "type": "string" - }, - "secondaryCategory": { - "description": "the secondary category", - "type": "string" - }, - "severity": { - "description": "the severity of the rule", - "type": "string" - }, - "uri": { - "description": "the docuement url for the rule", - "type": "string" - } - }, - "type": "object" - }, - "RunEvaluationRequest": { - "description": "Message for creating a Execution", - "id": "RunEvaluationRequest", - "properties": { - "execution": { - "$ref": "Execution", - "description": "Required. The resource being created" - }, - "executionId": { - "description": "Required. Id of the requesting object If auto-generating Id server-side, remove this field and execution_id from the method_signature of Create RPC", - "type": "string" - }, - "requestId": { - "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", - "type": "string" - } - }, - "type": "object" - }, "SapDiscovery": { "description": "The schema of SAP system discovery data.", "id": "SapDiscovery", @@ -1414,26 +890,6 @@ "description": "ComputeInstance, ComputeDisk, VPC, Bare Metal server, etc.", "type": "string" }, - "resourceState": { - "description": "Indicates whether this is a new, updated, or missing resource.", - "enum": [ - "RESOURCE_STATE_UNSPECIFIED", - "ADDED", - "UPDATED", - "REMOVED", - "REPLACED", - "MISSING" - ], - "enumDescriptions": [ - "Undefined resource state", - "Resource was added this cycle", - "Resource already discovered, just updated this cycle", - "Resource already discovered, but has been explicitly removed this cycle", - "Resource already discovered, but has been replaced by a new resource this cycle", - "Resource already discovered, but is missing or unresponsive this cycle" - ], - "type": "string" - }, "resourceType": { "description": "The type of this resource.", "enum": [ @@ -1510,17 +966,6 @@ }, "type": "object" }, - "ScannedResource": { - "description": "Message of scanned resource", - "id": "ScannedResource", - "properties": { - "resource": { - "description": "resource name", - "type": "string" - } - }, - "type": "object" - }, "Status": { "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", "id": "Status", @@ -1548,28 +993,6 @@ }, "type": "object" }, - "ViolationDetails": { - "description": "Message describing the violdation in execution result", - "id": "ViolationDetails", - "properties": { - "asset": { - "description": "the name of asset", - "type": "string" - }, - "observed": { - "additionalProperties": { - "type": "string" - }, - "description": "observed", - "type": "object" - }, - "serviceAccount": { - "description": "the service account associate with resource", - "type": "string" - } - }, - "type": "object" - }, "WriteInsightRequest": { "description": "Request for sending the data insights.", "id": "WriteInsightRequest", diff --git a/src/apis/admin/directory_v1.ts b/src/apis/admin/directory_v1.ts index 4d0af2a95c9..d42511feba7 100644 --- a/src/apis/admin/directory_v1.ts +++ b/src/apis/admin/directory_v1.ts @@ -1824,7 +1824,7 @@ export namespace admin_directory_v1 { */ export interface Schema$RoleAssignment { /** - * The unique ID of the entity this role is assigned to—either the `user_id` of a user or the `uniqueId` of a service account, as defined in [Identity and Access Management (IAM)](https://cloud.google.com/iam/docs/reference/rest/v1/projects.serviceAccounts). + * The unique ID of the entity this role is assigned to—either the `user_id` of a user, the `group_id` of a group, or the `uniqueId` of a service account as defined in [Identity and Access Management (IAM)](https://cloud.google.com/iam/docs/reference/rest/v1/projects.serviceAccounts). */ assignedTo?: string | null; /** @@ -2032,7 +2032,7 @@ export namespace admin_directory_v1 { kind?: string | null; } /** - * The Directory API allows you to create and manage your account's users, user aliases, and user Gmail chat profile photos. For more information about common tasks, see the [User Accounts Developer's Guide](/admin-sdk/directory/v1/guides/manage-users.html) and the [User Aliases Developer's Guide](/admin-sdk/directory/v1/guides/manage-user-aliases.html). + * The Directory API allows you to create and manage your account's users, user aliases, and user Google profile photos. For more information about common tasks, see the [User Accounts Developer's Guide](/admin-sdk/directory/v1/guides/manage-users.html) and the [User Aliases Developer's Guide](/admin-sdk/directory/v1/guides/manage-user-aliases.html). */ export interface Schema$User { /** diff --git a/src/apis/admin/reports_v1.ts b/src/apis/admin/reports_v1.ts index ee63df3261e..ddfc1aa8ac2 100644 --- a/src/apis/admin/reports_v1.ts +++ b/src/apis/admin/reports_v1.ts @@ -236,7 +236,7 @@ export namespace admin_reports_v1 { */ params?: {[key: string]: string} | null; /** - * A Boolean value to indicate whether payload is wanted. Optional. + * A Boolean value to indicate whether payload is wanted. A payload is data that is sent in the body of an HTTP POST, PUT, or PATCH message and contains important information about the request. Optional. */ payload?: boolean | null; /** diff --git a/src/apis/analyticsadmin/v1alpha.ts b/src/apis/analyticsadmin/v1alpha.ts index ed695bd8250..a147cc7c57c 100644 --- a/src/apis/analyticsadmin/v1alpha.ts +++ b/src/apis/analyticsadmin/v1alpha.ts @@ -1324,7 +1324,7 @@ export namespace analyticsadmin_v1alpha { */ name?: string | null; /** - * Required. Immutable. Tagging parameter name for this custom dimension. If this is a user-scoped dimension, then this is the user property name. If this is an event-scoped dimension, then this is the event parameter name. May only contain alphanumeric and underscore characters, starting with a letter. Max length of 24 characters for user-scoped dimensions, 40 characters for event-scoped dimensions. + * Required. Immutable. Tagging parameter name for this custom dimension. If this is a user-scoped dimension, then this is the user property name. If this is an event-scoped dimension, then this is the event parameter name. If this is an item-scoped dimension, then this is the parameter name found in the eCommerce items array. May only contain alphanumeric and underscore characters, starting with a letter. Max length of 24 characters for user-scoped dimensions, 40 characters for event-scoped dimensions. */ parameterName?: string | null; /** @@ -19583,7 +19583,7 @@ export namespace analyticsadmin_v1alpha { * * // Do the magic * const res = await analyticsadmin.properties.expandedDataSets.get({ - * // Required. The name of the Audience to get. Example format: properties/1234/expandedDataSets/5678 + * // Required. The name of the ExpandedDataSet to get. Example format: properties/1234/expandedDataSets/5678 * name: 'properties/my-propertie/expandedDataSets/my-expandedDataSet', * }); * console.log(res.data); @@ -20026,7 +20026,7 @@ export namespace analyticsadmin_v1alpha { export interface Params$Resource$Properties$Expandeddatasets$Get extends StandardParameters { /** - * Required. The name of the Audience to get. Example format: properties/1234/expandedDataSets/5678 + * Required. The name of the ExpandedDataSet to get. Example format: properties/1234/expandedDataSets/5678 */ name?: string; } diff --git a/src/apis/analyticsadmin/v1beta.ts b/src/apis/analyticsadmin/v1beta.ts index 6c913e70f3a..b993e6b8cac 100644 --- a/src/apis/analyticsadmin/v1beta.ts +++ b/src/apis/analyticsadmin/v1beta.ts @@ -600,7 +600,7 @@ export namespace analyticsadmin_v1beta { */ name?: string | null; /** - * Required. Immutable. Tagging parameter name for this custom dimension. If this is a user-scoped dimension, then this is the user property name. If this is an event-scoped dimension, then this is the event parameter name. May only contain alphanumeric and underscore characters, starting with a letter. Max length of 24 characters for user-scoped dimensions, 40 characters for event-scoped dimensions. + * Required. Immutable. Tagging parameter name for this custom dimension. If this is a user-scoped dimension, then this is the user property name. If this is an event-scoped dimension, then this is the event parameter name. If this is an item-scoped dimension, then this is the parameter name found in the eCommerce items array. May only contain alphanumeric and underscore characters, starting with a letter. Max length of 24 characters for user-scoped dimensions, 40 characters for event-scoped dimensions. */ parameterName?: string | null; /** diff --git a/src/apis/compute/beta.ts b/src/apis/compute/beta.ts index 3223a1be1c1..62366810279 100644 --- a/src/apis/compute/beta.ts +++ b/src/apis/compute/beta.ts @@ -948,6 +948,10 @@ export namespace compute_beta { * Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle. Values must be between 1 and 7,124. */ provisionedThroughput?: string | null; + /** + * Required for each regional disk associated with the instance. Specify the URLs of the zones where the disk should be replicated to. You must provide exactly two replica zones, and one zone must be the same as the instance zone. You can't use this option with boot disks. + */ + replicaZones?: string[] | null; /** * Resource manager tags to be bound to the disk. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id\}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty. */ @@ -3887,7 +3891,7 @@ export namespace compute_beta { */ name?: string | null; /** - * This field is not used for external load balancing. For Internal TCP/UDP Load Balancing, this field identifies the network that the load balanced IP should belong to for this Forwarding Rule. If this field is not specified, the default network will be used. For Private Service Connect forwarding rules that forward traffic to Google APIs, a network must be provided. + * This field is not used for external load balancing. For Internal TCP/UDP Load Balancing, this field identifies the network that the load balanced IP should belong to for this Forwarding Rule. If the subnetwork is specified, the network of the subnetwork will be used. If neither subnetwork nor this field is specified, the default network will be used. For Private Service Connect forwarding rules that forward traffic to Google APIs, a network must be provided. */ network?: string | null; /** @@ -8341,7 +8345,7 @@ export namespace compute_beta { */ projectIdOrNum?: string | null; /** - * Alias IP ranges from the same subnetwork + * Alias IP ranges from the same subnetwork. */ secondaryIpCidrRanges?: string[] | null; /** @@ -12355,6 +12359,10 @@ export namespace compute_beta { * Represents a Nat resource. It enables the VMs within the specified subnetworks to access Internet without external IP addresses. It specifies a list of subnetworks (and the ranges within) that want to use NAT. Customers can also provide the external IPs that would be used for NAT. GCP would auto-allocate ephemeral IPs if no external IPs are provided. */ export interface Schema$RouterNat { + /** + * The network tier to use when automatically reserving IP addresses. Must be one of: PREMIUM, STANDARD. If not specified, PREMIUM tier will be used. + */ + autoNetworkTier?: string | null; /** * A list of URLs of the IP resources to be drained. These IPs must be valid static external IPs that have been assigned to the NAT. These IPs should be used for updating/patching a NAT only. */ @@ -13039,15 +13047,15 @@ export namespace compute_beta { loadThreshold?: number | null; } /** - * Configuration options for L7 DDoS detection. + * Configuration options for L7 DDoS detection. This field is only supported in Global Security Policies of type CLOUD_ARMOR. */ export interface Schema$SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig { /** - * If set to true, enables CAAP for L7 DDoS detection. + * If set to true, enables CAAP for L7 DDoS detection. This field is only supported in Global Security Policies of type CLOUD_ARMOR. */ enable?: boolean | null; /** - * Rule visibility can be one of the following: STANDARD - opaque rules. (default) PREMIUM - transparent rules. + * Rule visibility can be one of the following: STANDARD - opaque rules. (default) PREMIUM - transparent rules. This field is only supported in Global Security Policies of type CLOUD_ARMOR. */ ruleVisibility?: string | null; } @@ -13118,7 +13126,7 @@ export namespace compute_beta { } export interface Schema$SecurityPolicyRecaptchaOptionsConfig { /** - * An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy. The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used. + * An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy. The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used. This field is only supported in Global Security Policies of type CLOUD_ARMOR. */ redirectSiteKey?: string | null; } @@ -13130,7 +13138,7 @@ export namespace compute_beta { */ export interface Schema$SecurityPolicyRule { /** - * The Action to perform when the rule is matched. The following are the valid actions: - allow: allow access to target. - deny(STATUS): deny access to target, returns the HTTP response code specified. Valid values for `STATUS` are 403, 404, and 502. - rate_based_ban: limit client traffic to the configured threshold and ban the client if the traffic exceeds the threshold. Configure parameters for this action in RateLimitOptions. Requires rate_limit_options to be set. - redirect: redirect to a different target. This can either be an internal reCAPTCHA redirect, or an external URL-based redirect via a 302 response. Parameters for this action can be configured via redirectOptions. - throttle: limit client traffic to the configured threshold. Configure parameters for this action in rateLimitOptions. Requires rate_limit_options to be set for this. + * The Action to perform when the rule is matched. The following are the valid actions: - allow: allow access to target. - deny(STATUS): deny access to target, returns the HTTP response code specified. Valid values for `STATUS` are 403, 404, and 502. - rate_based_ban: limit client traffic to the configured threshold and ban the client if the traffic exceeds the threshold. Configure parameters for this action in RateLimitOptions. Requires rate_limit_options to be set. - redirect: redirect to a different target. This can either be an internal reCAPTCHA redirect, or an external URL-based redirect via a 302 response. Parameters for this action can be configured via redirectOptions. This action is only supported in Global Security Policies of type CLOUD_ARMOR. - throttle: limit client traffic to the configured threshold. Configure parameters for this action in rateLimitOptions. Requires rate_limit_options to be set for this. */ action?: string | null; /** @@ -13146,7 +13154,7 @@ export namespace compute_beta { */ enableLogging?: boolean | null; /** - * Optional, additional actions that are performed on headers. + * Optional, additional actions that are performed on headers. This field is only supported in Global Security Policies of type CLOUD_ARMOR. */ headerAction?: Schema$SecurityPolicyRuleHttpHeaderAction; /** @@ -13174,7 +13182,7 @@ export namespace compute_beta { */ rateLimitOptions?: Schema$SecurityPolicyRuleRateLimitOptions; /** - * Parameters defining the redirect action. Cannot be specified for any other actions. + * Parameters defining the redirect action. Cannot be specified for any other actions. This field is only supported in Global Security Policies of type CLOUD_ARMOR. */ redirectOptions?: Schema$SecurityPolicyRuleRedirectOptions; /** @@ -13219,7 +13227,7 @@ export namespace compute_beta { */ config?: Schema$SecurityPolicyRuleMatcherConfig; /** - * User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header. + * User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header. Expressions containing `evaluateThreatIntelligence` require Cloud Armor Managed Protection Plus tier and are not supported in Edge Policies nor in Regional Policies. Expressions containing `evaluatePreconfiguredExpr('sourceiplist-*')` require Cloud Armor Managed Protection Plus tier and are only supported in Global Security Policies. */ expr?: Schema$Expr; /** @@ -13319,11 +13327,11 @@ export namespace compute_beta { */ enforceOnKeyName?: string | null; /** - * Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are `deny(STATUS)`, where valid values for `STATUS` are 403, 404, 429, and 502, and `redirect`, where the redirect parameters come from `exceedRedirectOptions` below. + * Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are `deny(STATUS)`, where valid values for `STATUS` are 403, 404, 429, and 502, and `redirect`, where the redirect parameters come from `exceedRedirectOptions` below. The `redirect` action is only supported in Global Security Policies of type CLOUD_ARMOR. */ exceedAction?: string | null; /** - * Parameters defining the redirect action that is used as the exceed action. Cannot be specified if the exceed action is not redirect. + * Parameters defining the redirect action that is used as the exceed action. Cannot be specified if the exceed action is not redirect. This field is only supported in Global Security Policies of type CLOUD_ARMOR. */ exceedRedirectOptions?: Schema$SecurityPolicyRuleRedirectOptions; /** diff --git a/src/apis/connectors/v1.ts b/src/apis/connectors/v1.ts index 1884cc232ce..9505b44eb1e 100644 --- a/src/apis/connectors/v1.ts +++ b/src/apis/connectors/v1.ts @@ -162,6 +162,10 @@ export namespace connectors_v1 { * The type of authentication configured. */ authType?: string | null; + /** + * Oauth2AuthCodeFlow. + */ + oauth2AuthCodeFlow?: Schema$Oauth2AuthCodeFlow; /** * Oauth2ClientCredentials. */ @@ -360,6 +364,10 @@ export namespace connectors_v1 { * Optional. Configuration that indicates whether or not the Connection can be edited. */ lockConfig?: Schema$LockConfig; + /** + * Optional. Log configuration for the connection. + */ + logConfig?: Schema$ConnectorsLogConfig; /** * Output only. Resource name of the Connection. Format: projects/{project\}/locations/{location\}/connections/{connection\} */ @@ -484,6 +492,15 @@ export namespace connectors_v1 { */ webAssetsLocation?: string | null; } + /** + * Log configuration for the connection. + */ + export interface Schema$ConnectorsLogConfig { + /** + * Enabled represents whether logging is enabled or not for a connection. + */ + enabled?: boolean | null; + } /** * ConnectorVersion indicates a specific version of a connector. */ @@ -500,6 +517,10 @@ export namespace connectors_v1 { * Output only. Created time. */ createTime?: string | null; + /** + * Output only. List of destination configs needed to create a connection. + */ + destinationConfigTemplates?: Schema$DestinationConfigTemplate[]; /** * Output only. Display name. */ @@ -572,6 +593,47 @@ export namespace connectors_v1 { */ key?: string | null; } + /** + * DestinationConfigTemplate defines required destinations supported by the Connector. + */ + export interface Schema$DestinationConfigTemplate { + /** + * The default port. + */ + defaultPort?: number | null; + /** + * Description. + */ + description?: string | null; + /** + * Display name of the parameter. + */ + displayName?: string | null; + /** + * Whether the current destination tempalate is part of Advanced settings + */ + isAdvanced?: boolean | null; + /** + * Key of the destination. + */ + key?: string | null; + /** + * The maximum number of destinations supported for this key. + */ + max?: number | null; + /** + * The minimum number of destinations supported for this key. + */ + min?: number | null; + /** + * Whether port number should be provided by customers. + */ + portFieldType?: string | null; + /** + * Regex pattern for host. + */ + regexPattern?: string | null; + } /** * Egress control config for connector runtime. These configurations define the rules to identify which outbound domains/hosts needs to be whitelisted. It may be a static information for a particular connector version or it is derived from the configurations provided by the customer in Connection resource. */ @@ -895,6 +957,39 @@ export namespace connectors_v1 { */ minNodeCount?: number | null; } + /** + * Parameters to support Oauth 2.0 Auth Code Grant Authentication. See https://www.rfc-editor.org/rfc/rfc6749#section-1.3.1 for more details. + */ + export interface Schema$Oauth2AuthCodeFlow { + /** + * Authorization code to be exchanged for access and refresh tokens. + */ + authCode?: string | null; + /** + * Client ID for user-provided OAuth app. + */ + clientId?: string | null; + /** + * Client secret for user-provided OAuth app. + */ + clientSecret?: Schema$Secret; + /** + * Whether to enable PKCE when the user performs the auth code flow. + */ + enablePkce?: boolean | null; + /** + * PKCE verifier to be used during the auth code exchange. + */ + pkceVerifier?: string | null; + /** + * Redirect URI to be provided during the auth code exchange. + */ + redirectUri?: string | null; + /** + * Scopes the connection will request when the user performs the auth code flow. + */ + scopes?: string[] | null; + } /** * Parameters to support Oauth 2.0 Client Credentials Grant Authentication. See https://tools.ietf.org/html/rfc6749#section-1.3.4 for more details. */ @@ -1921,6 +2016,7 @@ export namespace connectors_v1 { * // "imageLocation": "my_imageLocation", * // "labels": {}, * // "lockConfig": {}, + * // "logConfig": {}, * // "name": "my_name", * // "nodeConfig": {}, * // "serviceAccount": "my_serviceAccount", @@ -2211,6 +2307,7 @@ export namespace connectors_v1 { * // "imageLocation": "my_imageLocation", * // "labels": {}, * // "lockConfig": {}, + * // "logConfig": {}, * // "name": "my_name", * // "nodeConfig": {}, * // "serviceAccount": "my_serviceAccount", @@ -2780,6 +2877,7 @@ export namespace connectors_v1 { * // "imageLocation": "my_imageLocation", * // "labels": {}, * // "lockConfig": {}, + * // "logConfig": {}, * // "name": "my_name", * // "nodeConfig": {}, * // "serviceAccount": "my_serviceAccount", @@ -5660,6 +5758,7 @@ export namespace connectors_v1 { * // "authConfigTemplates": [], * // "configVariableTemplates": [], * // "createTime": "my_createTime", + * // "destinationConfigTemplates": [], * // "displayName": "my_displayName", * // "egressControlConfig": {}, * // "labels": {}, diff --git a/src/apis/datacatalog/v1.ts b/src/apis/datacatalog/v1.ts index d91aac94b3d..c61e2e90cc7 100644 --- a/src/apis/datacatalog/v1.ts +++ b/src/apis/datacatalog/v1.ts @@ -1489,11 +1489,11 @@ export namespace datacatalog_v1 { */ export interface Schema$GoogleCloudDatacatalogV1TaggedEntry { /** - * Tags that should be deleted from the Data Catalog. Caller should populate template name and column only. + * Optional. Tags that should be deleted from the Data Catalog. Caller should populate template name and column only. */ absentTags?: Schema$GoogleCloudDatacatalogV1Tag[]; /** - * Tags that should be ingested into the Data Catalog. Caller should populate template name, column and fields. + * Optional. Tags that should be ingested into the Data Catalog. Caller should populate template name, column and fields. */ presentTags?: Schema$GoogleCloudDatacatalogV1Tag[]; /** diff --git a/src/apis/datacatalog/v1beta1.ts b/src/apis/datacatalog/v1beta1.ts index 47574d6f00f..80f1bf6ee68 100644 --- a/src/apis/datacatalog/v1beta1.ts +++ b/src/apis/datacatalog/v1beta1.ts @@ -1777,11 +1777,11 @@ export namespace datacatalog_v1beta1 { */ export interface Schema$GoogleCloudDatacatalogV1TaggedEntry { /** - * Tags that should be deleted from the Data Catalog. Caller should populate template name and column only. + * Optional. Tags that should be deleted from the Data Catalog. Caller should populate template name and column only. */ absentTags?: Schema$GoogleCloudDatacatalogV1Tag[]; /** - * Tags that should be ingested into the Data Catalog. Caller should populate template name, column and fields. + * Optional. Tags that should be ingested into the Data Catalog. Caller should populate template name, column and fields. */ presentTags?: Schema$GoogleCloudDatacatalogV1Tag[]; /** diff --git a/src/apis/displayvideo/v1.ts b/src/apis/displayvideo/v1.ts index 30c13810548..5c8193edaad 100644 --- a/src/apis/displayvideo/v1.ts +++ b/src/apis/displayvideo/v1.ts @@ -412,7 +412,7 @@ export namespace displayvideo_v1 { */ content?: string | null; /** - * Media ID of the uploaded asset. This is a unique identifier for the asset. This ID can be passed to other API calls, e.g. CreateCreative to associate the asset with a creative. **On April 5, 2023, the value of this ID will be updated. Before this date, we recommend that you stop using any cached media IDs when creating or updating creatives, and instead upload assets immediately before using them for creative production.** **After April 5, you can update cached media IDs to the new values by retrieving them from associated creative resources or re-uploading them.** + * Media ID of the uploaded asset. This is a unique identifier for the asset. This ID can be passed to other API calls, e.g. CreateCreative to associate the asset with a creative. The Media ID space updated on **April 5, 2023**. Update media IDs cached before **April 5, 2023** by retrieving the new media ID from associated creative resources or re-uploading the asset. */ mediaId?: string | null; } @@ -1699,7 +1699,7 @@ export namespace displayvideo_v1 { */ export interface Schema$Creative { /** - * Additional dimensions. Applicable when creative_type is one of: * `CREATIVE_TYPE_STANDARD` * `CREATIVE_TYPE_EXPANDABLE` * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_TEMPLATED_APP_INSTALL` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_LIGHTBOX` * `CREATIVE_TYPE_NATIVE_APP_INSTALL` * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE` * `CREATIVE_TYPE_PUBLISHER_HOSTED` If this field is specified, width_pixels and height_pixels are both required and must be greater than or equal to 0. + * Additional dimensions. Applicable when creative_type is one of: * `CREATIVE_TYPE_STANDARD` * `CREATIVE_TYPE_EXPANDABLE` * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_LIGHTBOX` * `CREATIVE_TYPE_PUBLISHER_HOSTED` If this field is specified, width_pixels and height_pixels are both required and must be greater than or equal to 0. */ additionalDimensions?: Schema$Dimensions[]; /** @@ -1711,7 +1711,7 @@ export namespace displayvideo_v1 { */ appendedTag?: string | null; /** - * Required. Assets associated to this creative. Assets can be associated to the creative in one of following roles: * `ASSET_ROLE_UNSPECIFIED` * `ASSET_ROLE_MAIN` * `ASSET_ROLE_BACKUP` * `ASSET_ROLE_POLITE_LOAD` + * Required. Assets associated to this creative. */ assets?: Schema$AssetAssociation[]; /** @@ -1719,7 +1719,7 @@ export namespace displayvideo_v1 { */ cmPlacementId?: string | null; /** - * The Campaign Manager 360 tracking ad associated with the creative. Optional for the following creative_type when created by an advertiser that uses both Campaign Manager 360 and third-party ad serving: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_APP_INSTALL` * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE` Output only for other cases. + * The Campaign Manager 360 tracking ad associated with the creative. Optional for the following creative_type when created by an advertiser that uses both Campaign Manager 360 and third-party ad serving: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` Output only for other cases. */ cmTrackingAd?: Schema$CmTrackingAd; /** @@ -1747,7 +1747,7 @@ export namespace displayvideo_v1 { */ creativeType?: string | null; /** - * Required. Primary dimensions of the creative. Applicable to all creative types. The value of width_pixels and height_pixels defaults to `0` when creative_type is one of: * `CREATIVE_TYPE_VIDEO` * `CREATIVE_TYPE_TEMPLATED_APP_INSTALL_INTERSTITIAL` * `CREATIVE_TYPE_AUDIO` * `CREATIVE_TYPE_NATIVE_VIDEO` * `CREATIVE_TYPE_TEMPLATED_APP_INSTALL_VIDEO` + * Required. Primary dimensions of the creative. Applicable to all creative types. The value of width_pixels and height_pixels defaults to `0` when creative_type is one of: * `CREATIVE_TYPE_VIDEO` * `CREATIVE_TYPE_AUDIO` * `CREATIVE_TYPE_NATIVE_VIDEO` */ dimensions?: Schema$Dimensions; /** @@ -1791,7 +1791,7 @@ export namespace displayvideo_v1 { */ integrationCode?: string | null; /** - * JavaScript measurement URL from supported third-party verification providers (ComScore, DoubleVerify, IAS, Moat). HTML script tags are not supported. This field is only supported in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_APP_INSTALL` * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO` + * JavaScript measurement URL from supported third-party verification providers (ComScore, DoubleVerify, IAS, Moat). HTML script tags are not supported. This field is only writeable in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO` */ jsTrackerUrl?: string | null; /** @@ -1863,7 +1863,7 @@ export namespace displayvideo_v1 { */ timerEvents?: Schema$TimerEvent[]; /** - * Tracking URLs for analytics providers or third-party ad technology vendors. The URLs must start with https (except on inventory that doesn't require SSL compliance). If using macros in your URL, use only macros supported by Display & Video 360. Standard URLs only, no IMG or SCRIPT tags. This field is only supported in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_APP_INSTALL` * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO` + * Tracking URLs for analytics providers or third-party ad technology vendors. The URLs must start with https (except on inventory that doesn't require SSL compliance). If using macros in your URL, use only macros supported by Display & Video 360. Standard URLs only, no IMG or SCRIPT tags. This field is only writeable in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO` */ trackerUrls?: string[] | null; /** diff --git a/src/apis/displayvideo/v2.ts b/src/apis/displayvideo/v2.ts index 34aedd545ff..db1a8837075 100644 --- a/src/apis/displayvideo/v2.ts +++ b/src/apis/displayvideo/v2.ts @@ -434,7 +434,7 @@ export namespace displayvideo_v2 { */ content?: string | null; /** - * Media ID of the uploaded asset. This is a unique identifier for the asset. This ID can be passed to other API calls, e.g. CreateCreative to associate the asset with a creative. **On April 5, 2023, the value of this ID will be updated. Before this date, we recommend that you stop using any cached media IDs when creating or updating creatives, and instead upload assets immediately before using them for creative production.** **After April 5, you can update cached media IDs to the new values by retrieving them from associated creative resources or re-uploading them.** + * Media ID of the uploaded asset. This is a unique identifier for the asset. This ID can be passed to other API calls, e.g. CreateCreative to associate the asset with a creative. The Media ID space updated on **April 5, 2023**. Update media IDs cached before **April 5, 2023** by retrieving the new media ID from associated creative resources or re-uploading the asset. */ mediaId?: string | null; } @@ -1848,7 +1848,7 @@ export namespace displayvideo_v2 { */ export interface Schema$Creative { /** - * Additional dimensions. Applicable when creative_type is one of: * `CREATIVE_TYPE_STANDARD` * `CREATIVE_TYPE_EXPANDABLE` * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_TEMPLATED_APP_INSTALL` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_LIGHTBOX` * `CREATIVE_TYPE_NATIVE_APP_INSTALL` * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE` * `CREATIVE_TYPE_PUBLISHER_HOSTED` If this field is specified, width_pixels and height_pixels are both required and must be greater than or equal to 0. + * Additional dimensions. Applicable when creative_type is one of: * `CREATIVE_TYPE_STANDARD` * `CREATIVE_TYPE_EXPANDABLE` * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_LIGHTBOX` * `CREATIVE_TYPE_PUBLISHER_HOSTED` If this field is specified, width_pixels and height_pixels are both required and must be greater than or equal to 0. */ additionalDimensions?: Schema$Dimensions[]; /** @@ -1860,7 +1860,7 @@ export namespace displayvideo_v2 { */ appendedTag?: string | null; /** - * Required. Assets associated to this creative. Assets can be associated to the creative in one of following roles: * `ASSET_ROLE_UNSPECIFIED` * `ASSET_ROLE_MAIN` * `ASSET_ROLE_BACKUP` * `ASSET_ROLE_POLITE_LOAD` + * Required. Assets associated to this creative. */ assets?: Schema$AssetAssociation[]; /** @@ -1868,7 +1868,7 @@ export namespace displayvideo_v2 { */ cmPlacementId?: string | null; /** - * The Campaign Manager 360 tracking ad associated with the creative. Optional for the following creative_type when created by an advertiser that uses both Campaign Manager 360 and third-party ad serving: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_APP_INSTALL` * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE` Output only for other cases. + * The Campaign Manager 360 tracking ad associated with the creative. Optional for the following creative_type when created by an advertiser that uses both Campaign Manager 360 and third-party ad serving: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` Output only for other cases. */ cmTrackingAd?: Schema$CmTrackingAd; /** @@ -1896,7 +1896,7 @@ export namespace displayvideo_v2 { */ creativeType?: string | null; /** - * Required. Primary dimensions of the creative. Applicable to all creative types. The value of width_pixels and height_pixels defaults to `0` when creative_type is one of: * `CREATIVE_TYPE_VIDEO` * `CREATIVE_TYPE_TEMPLATED_APP_INSTALL_INTERSTITIAL` * `CREATIVE_TYPE_AUDIO` * `CREATIVE_TYPE_NATIVE_VIDEO` * `CREATIVE_TYPE_TEMPLATED_APP_INSTALL_VIDEO` + * Required. Primary dimensions of the creative. Applicable to all creative types. The value of width_pixels and height_pixels defaults to `0` when creative_type is one of: * `CREATIVE_TYPE_VIDEO` * `CREATIVE_TYPE_AUDIO` * `CREATIVE_TYPE_NATIVE_VIDEO` */ dimensions?: Schema$Dimensions; /** @@ -1940,7 +1940,7 @@ export namespace displayvideo_v2 { */ integrationCode?: string | null; /** - * JavaScript measurement URL from supported third-party verification providers (ComScore, DoubleVerify, IAS, Moat). HTML script tags are not supported. This field is only supported in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_APP_INSTALL` * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO` + * JavaScript measurement URL from supported third-party verification providers (ComScore, DoubleVerify, IAS, Moat). HTML script tags are not supported. This field is only writeable in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO` */ jsTrackerUrl?: string | null; /** @@ -2012,7 +2012,7 @@ export namespace displayvideo_v2 { */ timerEvents?: Schema$TimerEvent[]; /** - * Tracking URLs for analytics providers or third-party ad technology vendors. The URLs must start with https (except on inventory that doesn't require SSL compliance). If using macros in your URL, use only macros supported by Display & Video 360. Standard URLs only, no IMG or SCRIPT tags. This field is only supported in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_APP_INSTALL` * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO` + * Tracking URLs for analytics providers or third-party ad technology vendors. The URLs must start with https (except on inventory that doesn't require SSL compliance). If using macros in your URL, use only macros supported by Display & Video 360. Standard URLs only, no IMG or SCRIPT tags. This field is only writeable in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO` */ trackerUrls?: string[] | null; /** diff --git a/src/apis/networkservices/v1.ts b/src/apis/networkservices/v1.ts index e45904d7ad8..63b689d59a0 100644 --- a/src/apis/networkservices/v1.ts +++ b/src/apis/networkservices/v1.ts @@ -1472,11 +1472,6 @@ export namespace networkservices_v1 { grpcRoutes: Resource$Projects$Locations$Grpcroutes; httpRoutes: Resource$Projects$Locations$Httproutes; meshes: Resource$Projects$Locations$Meshes; - multicastConsumerAssociations: Resource$Projects$Locations$Multicastconsumerassociations; - multicastDomainActivations: Resource$Projects$Locations$Multicastdomainactivations; - multicastDomains: Resource$Projects$Locations$Multicastdomains; - multicastGroupDefinitions: Resource$Projects$Locations$Multicastgroupdefinitions; - multicastGroups: Resource$Projects$Locations$Multicastgroups; operations: Resource$Projects$Locations$Operations; serviceBindings: Resource$Projects$Locations$Servicebindings; tcpRoutes: Resource$Projects$Locations$Tcproutes; @@ -1502,22 +1497,6 @@ export namespace networkservices_v1 { this.context ); this.meshes = new Resource$Projects$Locations$Meshes(this.context); - this.multicastConsumerAssociations = - new Resource$Projects$Locations$Multicastconsumerassociations( - this.context - ); - this.multicastDomainActivations = - new Resource$Projects$Locations$Multicastdomainactivations( - this.context - ); - this.multicastDomains = new Resource$Projects$Locations$Multicastdomains( - this.context - ); - this.multicastGroupDefinitions = - new Resource$Projects$Locations$Multicastgroupdefinitions(this.context); - this.multicastGroups = new Resource$Projects$Locations$Multicastgroups( - this.context - ); this.operations = new Resource$Projects$Locations$Operations( this.context ); @@ -8552,2398 +8531,6 @@ export namespace networkservices_v1 { requestBody?: Schema$TestIamPermissionsRequest; } - export class Resource$Projects$Locations$Multicastconsumerassociations { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; - } - - /** - * Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. - * @example - * ```js - * // Before running the sample: - * // - Enable the API at: - * // https://console.developers.google.com/apis/api/networkservices.googleapis.com - * // - Login into gcloud by running: - * // `$ gcloud auth application-default login` - * // - Install the npm module by running: - * // `$ npm install googleapis` - * - * const {google} = require('googleapis'); - * const networkservices = google.networkservices('v1'); - * - * async function main() { - * const auth = new google.auth.GoogleAuth({ - * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], - * }); - * - * // Acquire an auth client, and bind it to all future calls - * const authClient = await auth.getClient(); - * google.options({auth: authClient}); - * - * // Do the magic - * const res = - * await networkservices.projects.locations.multicastConsumerAssociations.getIamPolicy( - * { - * // Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). - * 'options.requestedPolicyVersion': 'placeholder-value', - * // REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - * resource: - * 'projects/my-project/locations/my-location/multicastConsumerAssociations/my-multicastConsumerAssociation', - * } - * ); - * console.log(res.data); - * - * // Example response - * // { - * // "auditConfigs": [], - * // "bindings": [], - * // "etag": "my_etag", - * // "version": 0 - * // } - * } - * - * main().catch(e => { - * console.error(e); - * throw e; - * }); - * - * ``` - * - * @param params - Parameters for request - * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. - * @param callback - Optional callback that handles the response. - * @returns A promise if used with async/await, or void if used with a callback. - */ - getIamPolicy( - params: Params$Resource$Projects$Locations$Multicastconsumerassociations$Getiampolicy, - options: StreamMethodOptions - ): GaxiosPromise; - getIamPolicy( - params?: Params$Resource$Projects$Locations$Multicastconsumerassociations$Getiampolicy, - options?: MethodOptions - ): GaxiosPromise; - getIamPolicy( - params: Params$Resource$Projects$Locations$Multicastconsumerassociations$Getiampolicy, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - getIamPolicy( - params: Params$Resource$Projects$Locations$Multicastconsumerassociations$Getiampolicy, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - getIamPolicy( - params: Params$Resource$Projects$Locations$Multicastconsumerassociations$Getiampolicy, - callback: BodyResponseCallback - ): void; - getIamPolicy(callback: BodyResponseCallback): void; - getIamPolicy( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Multicastconsumerassociations$Getiampolicy - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Multicastconsumerassociations$Getiampolicy; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Multicastconsumerassociations$Getiampolicy; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://networkservices.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'GET', - }, - options - ), - params, - requiredParams: ['resource'], - pathParams: ['resource'], - context: this.context, - }; - if (callback) { - createAPIRequest( - parameters, - callback as BodyResponseCallback - ); - } else { - return createAPIRequest(parameters); - } - } - - /** - * Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. - * @example - * ```js - * // Before running the sample: - * // - Enable the API at: - * // https://console.developers.google.com/apis/api/networkservices.googleapis.com - * // - Login into gcloud by running: - * // `$ gcloud auth application-default login` - * // - Install the npm module by running: - * // `$ npm install googleapis` - * - * const {google} = require('googleapis'); - * const networkservices = google.networkservices('v1'); - * - * async function main() { - * const auth = new google.auth.GoogleAuth({ - * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], - * }); - * - * // Acquire an auth client, and bind it to all future calls - * const authClient = await auth.getClient(); - * google.options({auth: authClient}); - * - * // Do the magic - * const res = - * await networkservices.projects.locations.multicastConsumerAssociations.setIamPolicy( - * { - * // REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - * resource: - * 'projects/my-project/locations/my-location/multicastConsumerAssociations/my-multicastConsumerAssociation', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "policy": {}, - * // "updateMask": "my_updateMask" - * // } - * }, - * } - * ); - * console.log(res.data); - * - * // Example response - * // { - * // "auditConfigs": [], - * // "bindings": [], - * // "etag": "my_etag", - * // "version": 0 - * // } - * } - * - * main().catch(e => { - * console.error(e); - * throw e; - * }); - * - * ``` - * - * @param params - Parameters for request - * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. - * @param callback - Optional callback that handles the response. - * @returns A promise if used with async/await, or void if used with a callback. - */ - setIamPolicy( - params: Params$Resource$Projects$Locations$Multicastconsumerassociations$Setiampolicy, - options: StreamMethodOptions - ): GaxiosPromise; - setIamPolicy( - params?: Params$Resource$Projects$Locations$Multicastconsumerassociations$Setiampolicy, - options?: MethodOptions - ): GaxiosPromise; - setIamPolicy( - params: Params$Resource$Projects$Locations$Multicastconsumerassociations$Setiampolicy, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - setIamPolicy( - params: Params$Resource$Projects$Locations$Multicastconsumerassociations$Setiampolicy, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - setIamPolicy( - params: Params$Resource$Projects$Locations$Multicastconsumerassociations$Setiampolicy, - callback: BodyResponseCallback - ): void; - setIamPolicy(callback: BodyResponseCallback): void; - setIamPolicy( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Multicastconsumerassociations$Setiampolicy - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Multicastconsumerassociations$Setiampolicy; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Multicastconsumerassociations$Setiampolicy; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://networkservices.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', - }, - options - ), - params, - requiredParams: ['resource'], - pathParams: ['resource'], - context: this.context, - }; - if (callback) { - createAPIRequest( - parameters, - callback as BodyResponseCallback - ); - } else { - return createAPIRequest(parameters); - } - } - - /** - * Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. - * @example - * ```js - * // Before running the sample: - * // - Enable the API at: - * // https://console.developers.google.com/apis/api/networkservices.googleapis.com - * // - Login into gcloud by running: - * // `$ gcloud auth application-default login` - * // - Install the npm module by running: - * // `$ npm install googleapis` - * - * const {google} = require('googleapis'); - * const networkservices = google.networkservices('v1'); - * - * async function main() { - * const auth = new google.auth.GoogleAuth({ - * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], - * }); - * - * // Acquire an auth client, and bind it to all future calls - * const authClient = await auth.getClient(); - * google.options({auth: authClient}); - * - * // Do the magic - * const res = - * await networkservices.projects.locations.multicastConsumerAssociations.testIamPermissions( - * { - * // REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - * resource: - * 'projects/my-project/locations/my-location/multicastConsumerAssociations/my-multicastConsumerAssociation', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "permissions": [] - * // } - * }, - * } - * ); - * console.log(res.data); - * - * // Example response - * // { - * // "permissions": [] - * // } - * } - * - * main().catch(e => { - * console.error(e); - * throw e; - * }); - * - * ``` - * - * @param params - Parameters for request - * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. - * @param callback - Optional callback that handles the response. - * @returns A promise if used with async/await, or void if used with a callback. - */ - testIamPermissions( - params: Params$Resource$Projects$Locations$Multicastconsumerassociations$Testiampermissions, - options: StreamMethodOptions - ): GaxiosPromise; - testIamPermissions( - params?: Params$Resource$Projects$Locations$Multicastconsumerassociations$Testiampermissions, - options?: MethodOptions - ): GaxiosPromise; - testIamPermissions( - params: Params$Resource$Projects$Locations$Multicastconsumerassociations$Testiampermissions, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - testIamPermissions( - params: Params$Resource$Projects$Locations$Multicastconsumerassociations$Testiampermissions, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - testIamPermissions( - params: Params$Resource$Projects$Locations$Multicastconsumerassociations$Testiampermissions, - callback: BodyResponseCallback - ): void; - testIamPermissions( - callback: BodyResponseCallback - ): void; - testIamPermissions( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Multicastconsumerassociations$Testiampermissions - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): - | void - | GaxiosPromise - | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Multicastconsumerassociations$Testiampermissions; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Multicastconsumerassociations$Testiampermissions; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://networkservices.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', - }, - options - ), - params, - requiredParams: ['resource'], - pathParams: ['resource'], - context: this.context, - }; - if (callback) { - createAPIRequest( - parameters, - callback as BodyResponseCallback - ); - } else { - return createAPIRequest(parameters); - } - } - } - - export interface Params$Resource$Projects$Locations$Multicastconsumerassociations$Getiampolicy - extends StandardParameters { - /** - * Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). - */ - 'options.requestedPolicyVersion'?: number; - /** - * REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - */ - resource?: string; - } - export interface Params$Resource$Projects$Locations$Multicastconsumerassociations$Setiampolicy - extends StandardParameters { - /** - * REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - */ - resource?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$SetIamPolicyRequest; - } - export interface Params$Resource$Projects$Locations$Multicastconsumerassociations$Testiampermissions - extends StandardParameters { - /** - * REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - */ - resource?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$TestIamPermissionsRequest; - } - - export class Resource$Projects$Locations$Multicastdomainactivations { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; - } - - /** - * Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. - * @example - * ```js - * // Before running the sample: - * // - Enable the API at: - * // https://console.developers.google.com/apis/api/networkservices.googleapis.com - * // - Login into gcloud by running: - * // `$ gcloud auth application-default login` - * // - Install the npm module by running: - * // `$ npm install googleapis` - * - * const {google} = require('googleapis'); - * const networkservices = google.networkservices('v1'); - * - * async function main() { - * const auth = new google.auth.GoogleAuth({ - * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], - * }); - * - * // Acquire an auth client, and bind it to all future calls - * const authClient = await auth.getClient(); - * google.options({auth: authClient}); - * - * // Do the magic - * const res = - * await networkservices.projects.locations.multicastDomainActivations.getIamPolicy( - * { - * // Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). - * 'options.requestedPolicyVersion': 'placeholder-value', - * // REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - * resource: - * 'projects/my-project/locations/my-location/multicastDomainActivations/my-multicastDomainActivation', - * } - * ); - * console.log(res.data); - * - * // Example response - * // { - * // "auditConfigs": [], - * // "bindings": [], - * // "etag": "my_etag", - * // "version": 0 - * // } - * } - * - * main().catch(e => { - * console.error(e); - * throw e; - * }); - * - * ``` - * - * @param params - Parameters for request - * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. - * @param callback - Optional callback that handles the response. - * @returns A promise if used with async/await, or void if used with a callback. - */ - getIamPolicy( - params: Params$Resource$Projects$Locations$Multicastdomainactivations$Getiampolicy, - options: StreamMethodOptions - ): GaxiosPromise; - getIamPolicy( - params?: Params$Resource$Projects$Locations$Multicastdomainactivations$Getiampolicy, - options?: MethodOptions - ): GaxiosPromise; - getIamPolicy( - params: Params$Resource$Projects$Locations$Multicastdomainactivations$Getiampolicy, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - getIamPolicy( - params: Params$Resource$Projects$Locations$Multicastdomainactivations$Getiampolicy, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - getIamPolicy( - params: Params$Resource$Projects$Locations$Multicastdomainactivations$Getiampolicy, - callback: BodyResponseCallback - ): void; - getIamPolicy(callback: BodyResponseCallback): void; - getIamPolicy( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Multicastdomainactivations$Getiampolicy - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Multicastdomainactivations$Getiampolicy; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Multicastdomainactivations$Getiampolicy; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://networkservices.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'GET', - }, - options - ), - params, - requiredParams: ['resource'], - pathParams: ['resource'], - context: this.context, - }; - if (callback) { - createAPIRequest( - parameters, - callback as BodyResponseCallback - ); - } else { - return createAPIRequest(parameters); - } - } - - /** - * Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. - * @example - * ```js - * // Before running the sample: - * // - Enable the API at: - * // https://console.developers.google.com/apis/api/networkservices.googleapis.com - * // - Login into gcloud by running: - * // `$ gcloud auth application-default login` - * // - Install the npm module by running: - * // `$ npm install googleapis` - * - * const {google} = require('googleapis'); - * const networkservices = google.networkservices('v1'); - * - * async function main() { - * const auth = new google.auth.GoogleAuth({ - * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], - * }); - * - * // Acquire an auth client, and bind it to all future calls - * const authClient = await auth.getClient(); - * google.options({auth: authClient}); - * - * // Do the magic - * const res = - * await networkservices.projects.locations.multicastDomainActivations.setIamPolicy( - * { - * // REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - * resource: - * 'projects/my-project/locations/my-location/multicastDomainActivations/my-multicastDomainActivation', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "policy": {}, - * // "updateMask": "my_updateMask" - * // } - * }, - * } - * ); - * console.log(res.data); - * - * // Example response - * // { - * // "auditConfigs": [], - * // "bindings": [], - * // "etag": "my_etag", - * // "version": 0 - * // } - * } - * - * main().catch(e => { - * console.error(e); - * throw e; - * }); - * - * ``` - * - * @param params - Parameters for request - * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. - * @param callback - Optional callback that handles the response. - * @returns A promise if used with async/await, or void if used with a callback. - */ - setIamPolicy( - params: Params$Resource$Projects$Locations$Multicastdomainactivations$Setiampolicy, - options: StreamMethodOptions - ): GaxiosPromise; - setIamPolicy( - params?: Params$Resource$Projects$Locations$Multicastdomainactivations$Setiampolicy, - options?: MethodOptions - ): GaxiosPromise; - setIamPolicy( - params: Params$Resource$Projects$Locations$Multicastdomainactivations$Setiampolicy, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - setIamPolicy( - params: Params$Resource$Projects$Locations$Multicastdomainactivations$Setiampolicy, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - setIamPolicy( - params: Params$Resource$Projects$Locations$Multicastdomainactivations$Setiampolicy, - callback: BodyResponseCallback - ): void; - setIamPolicy(callback: BodyResponseCallback): void; - setIamPolicy( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Multicastdomainactivations$Setiampolicy - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Multicastdomainactivations$Setiampolicy; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Multicastdomainactivations$Setiampolicy; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://networkservices.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', - }, - options - ), - params, - requiredParams: ['resource'], - pathParams: ['resource'], - context: this.context, - }; - if (callback) { - createAPIRequest( - parameters, - callback as BodyResponseCallback - ); - } else { - return createAPIRequest(parameters); - } - } - - /** - * Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. - * @example - * ```js - * // Before running the sample: - * // - Enable the API at: - * // https://console.developers.google.com/apis/api/networkservices.googleapis.com - * // - Login into gcloud by running: - * // `$ gcloud auth application-default login` - * // - Install the npm module by running: - * // `$ npm install googleapis` - * - * const {google} = require('googleapis'); - * const networkservices = google.networkservices('v1'); - * - * async function main() { - * const auth = new google.auth.GoogleAuth({ - * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], - * }); - * - * // Acquire an auth client, and bind it to all future calls - * const authClient = await auth.getClient(); - * google.options({auth: authClient}); - * - * // Do the magic - * const res = - * await networkservices.projects.locations.multicastDomainActivations.testIamPermissions( - * { - * // REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - * resource: - * 'projects/my-project/locations/my-location/multicastDomainActivations/my-multicastDomainActivation', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "permissions": [] - * // } - * }, - * } - * ); - * console.log(res.data); - * - * // Example response - * // { - * // "permissions": [] - * // } - * } - * - * main().catch(e => { - * console.error(e); - * throw e; - * }); - * - * ``` - * - * @param params - Parameters for request - * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. - * @param callback - Optional callback that handles the response. - * @returns A promise if used with async/await, or void if used with a callback. - */ - testIamPermissions( - params: Params$Resource$Projects$Locations$Multicastdomainactivations$Testiampermissions, - options: StreamMethodOptions - ): GaxiosPromise; - testIamPermissions( - params?: Params$Resource$Projects$Locations$Multicastdomainactivations$Testiampermissions, - options?: MethodOptions - ): GaxiosPromise; - testIamPermissions( - params: Params$Resource$Projects$Locations$Multicastdomainactivations$Testiampermissions, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - testIamPermissions( - params: Params$Resource$Projects$Locations$Multicastdomainactivations$Testiampermissions, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - testIamPermissions( - params: Params$Resource$Projects$Locations$Multicastdomainactivations$Testiampermissions, - callback: BodyResponseCallback - ): void; - testIamPermissions( - callback: BodyResponseCallback - ): void; - testIamPermissions( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Multicastdomainactivations$Testiampermissions - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): - | void - | GaxiosPromise - | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Multicastdomainactivations$Testiampermissions; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Multicastdomainactivations$Testiampermissions; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://networkservices.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', - }, - options - ), - params, - requiredParams: ['resource'], - pathParams: ['resource'], - context: this.context, - }; - if (callback) { - createAPIRequest( - parameters, - callback as BodyResponseCallback - ); - } else { - return createAPIRequest(parameters); - } - } - } - - export interface Params$Resource$Projects$Locations$Multicastdomainactivations$Getiampolicy - extends StandardParameters { - /** - * Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). - */ - 'options.requestedPolicyVersion'?: number; - /** - * REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - */ - resource?: string; - } - export interface Params$Resource$Projects$Locations$Multicastdomainactivations$Setiampolicy - extends StandardParameters { - /** - * REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - */ - resource?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$SetIamPolicyRequest; - } - export interface Params$Resource$Projects$Locations$Multicastdomainactivations$Testiampermissions - extends StandardParameters { - /** - * REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - */ - resource?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$TestIamPermissionsRequest; - } - - export class Resource$Projects$Locations$Multicastdomains { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; - } - - /** - * Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. - * @example - * ```js - * // Before running the sample: - * // - Enable the API at: - * // https://console.developers.google.com/apis/api/networkservices.googleapis.com - * // - Login into gcloud by running: - * // `$ gcloud auth application-default login` - * // - Install the npm module by running: - * // `$ npm install googleapis` - * - * const {google} = require('googleapis'); - * const networkservices = google.networkservices('v1'); - * - * async function main() { - * const auth = new google.auth.GoogleAuth({ - * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], - * }); - * - * // Acquire an auth client, and bind it to all future calls - * const authClient = await auth.getClient(); - * google.options({auth: authClient}); - * - * // Do the magic - * const res = - * await networkservices.projects.locations.multicastDomains.getIamPolicy({ - * // Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). - * 'options.requestedPolicyVersion': 'placeholder-value', - * // REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - * resource: - * 'projects/my-project/locations/my-location/multicastDomains/my-multicastDomain', - * }); - * console.log(res.data); - * - * // Example response - * // { - * // "auditConfigs": [], - * // "bindings": [], - * // "etag": "my_etag", - * // "version": 0 - * // } - * } - * - * main().catch(e => { - * console.error(e); - * throw e; - * }); - * - * ``` - * - * @param params - Parameters for request - * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. - * @param callback - Optional callback that handles the response. - * @returns A promise if used with async/await, or void if used with a callback. - */ - getIamPolicy( - params: Params$Resource$Projects$Locations$Multicastdomains$Getiampolicy, - options: StreamMethodOptions - ): GaxiosPromise; - getIamPolicy( - params?: Params$Resource$Projects$Locations$Multicastdomains$Getiampolicy, - options?: MethodOptions - ): GaxiosPromise; - getIamPolicy( - params: Params$Resource$Projects$Locations$Multicastdomains$Getiampolicy, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - getIamPolicy( - params: Params$Resource$Projects$Locations$Multicastdomains$Getiampolicy, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - getIamPolicy( - params: Params$Resource$Projects$Locations$Multicastdomains$Getiampolicy, - callback: BodyResponseCallback - ): void; - getIamPolicy(callback: BodyResponseCallback): void; - getIamPolicy( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Multicastdomains$Getiampolicy - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Multicastdomains$Getiampolicy; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Multicastdomains$Getiampolicy; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://networkservices.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'GET', - }, - options - ), - params, - requiredParams: ['resource'], - pathParams: ['resource'], - context: this.context, - }; - if (callback) { - createAPIRequest( - parameters, - callback as BodyResponseCallback - ); - } else { - return createAPIRequest(parameters); - } - } - - /** - * Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. - * @example - * ```js - * // Before running the sample: - * // - Enable the API at: - * // https://console.developers.google.com/apis/api/networkservices.googleapis.com - * // - Login into gcloud by running: - * // `$ gcloud auth application-default login` - * // - Install the npm module by running: - * // `$ npm install googleapis` - * - * const {google} = require('googleapis'); - * const networkservices = google.networkservices('v1'); - * - * async function main() { - * const auth = new google.auth.GoogleAuth({ - * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], - * }); - * - * // Acquire an auth client, and bind it to all future calls - * const authClient = await auth.getClient(); - * google.options({auth: authClient}); - * - * // Do the magic - * const res = - * await networkservices.projects.locations.multicastDomains.setIamPolicy({ - * // REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - * resource: - * 'projects/my-project/locations/my-location/multicastDomains/my-multicastDomain', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "policy": {}, - * // "updateMask": "my_updateMask" - * // } - * }, - * }); - * console.log(res.data); - * - * // Example response - * // { - * // "auditConfigs": [], - * // "bindings": [], - * // "etag": "my_etag", - * // "version": 0 - * // } - * } - * - * main().catch(e => { - * console.error(e); - * throw e; - * }); - * - * ``` - * - * @param params - Parameters for request - * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. - * @param callback - Optional callback that handles the response. - * @returns A promise if used with async/await, or void if used with a callback. - */ - setIamPolicy( - params: Params$Resource$Projects$Locations$Multicastdomains$Setiampolicy, - options: StreamMethodOptions - ): GaxiosPromise; - setIamPolicy( - params?: Params$Resource$Projects$Locations$Multicastdomains$Setiampolicy, - options?: MethodOptions - ): GaxiosPromise; - setIamPolicy( - params: Params$Resource$Projects$Locations$Multicastdomains$Setiampolicy, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - setIamPolicy( - params: Params$Resource$Projects$Locations$Multicastdomains$Setiampolicy, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - setIamPolicy( - params: Params$Resource$Projects$Locations$Multicastdomains$Setiampolicy, - callback: BodyResponseCallback - ): void; - setIamPolicy(callback: BodyResponseCallback): void; - setIamPolicy( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Multicastdomains$Setiampolicy - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Multicastdomains$Setiampolicy; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Multicastdomains$Setiampolicy; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://networkservices.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', - }, - options - ), - params, - requiredParams: ['resource'], - pathParams: ['resource'], - context: this.context, - }; - if (callback) { - createAPIRequest( - parameters, - callback as BodyResponseCallback - ); - } else { - return createAPIRequest(parameters); - } - } - - /** - * Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. - * @example - * ```js - * // Before running the sample: - * // - Enable the API at: - * // https://console.developers.google.com/apis/api/networkservices.googleapis.com - * // - Login into gcloud by running: - * // `$ gcloud auth application-default login` - * // - Install the npm module by running: - * // `$ npm install googleapis` - * - * const {google} = require('googleapis'); - * const networkservices = google.networkservices('v1'); - * - * async function main() { - * const auth = new google.auth.GoogleAuth({ - * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], - * }); - * - * // Acquire an auth client, and bind it to all future calls - * const authClient = await auth.getClient(); - * google.options({auth: authClient}); - * - * // Do the magic - * const res = - * await networkservices.projects.locations.multicastDomains.testIamPermissions( - * { - * // REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - * resource: - * 'projects/my-project/locations/my-location/multicastDomains/my-multicastDomain', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "permissions": [] - * // } - * }, - * } - * ); - * console.log(res.data); - * - * // Example response - * // { - * // "permissions": [] - * // } - * } - * - * main().catch(e => { - * console.error(e); - * throw e; - * }); - * - * ``` - * - * @param params - Parameters for request - * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. - * @param callback - Optional callback that handles the response. - * @returns A promise if used with async/await, or void if used with a callback. - */ - testIamPermissions( - params: Params$Resource$Projects$Locations$Multicastdomains$Testiampermissions, - options: StreamMethodOptions - ): GaxiosPromise; - testIamPermissions( - params?: Params$Resource$Projects$Locations$Multicastdomains$Testiampermissions, - options?: MethodOptions - ): GaxiosPromise; - testIamPermissions( - params: Params$Resource$Projects$Locations$Multicastdomains$Testiampermissions, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - testIamPermissions( - params: Params$Resource$Projects$Locations$Multicastdomains$Testiampermissions, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - testIamPermissions( - params: Params$Resource$Projects$Locations$Multicastdomains$Testiampermissions, - callback: BodyResponseCallback - ): void; - testIamPermissions( - callback: BodyResponseCallback - ): void; - testIamPermissions( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Multicastdomains$Testiampermissions - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): - | void - | GaxiosPromise - | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Multicastdomains$Testiampermissions; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Multicastdomains$Testiampermissions; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://networkservices.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', - }, - options - ), - params, - requiredParams: ['resource'], - pathParams: ['resource'], - context: this.context, - }; - if (callback) { - createAPIRequest( - parameters, - callback as BodyResponseCallback - ); - } else { - return createAPIRequest(parameters); - } - } - } - - export interface Params$Resource$Projects$Locations$Multicastdomains$Getiampolicy - extends StandardParameters { - /** - * Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). - */ - 'options.requestedPolicyVersion'?: number; - /** - * REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - */ - resource?: string; - } - export interface Params$Resource$Projects$Locations$Multicastdomains$Setiampolicy - extends StandardParameters { - /** - * REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - */ - resource?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$SetIamPolicyRequest; - } - export interface Params$Resource$Projects$Locations$Multicastdomains$Testiampermissions - extends StandardParameters { - /** - * REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - */ - resource?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$TestIamPermissionsRequest; - } - - export class Resource$Projects$Locations$Multicastgroupdefinitions { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; - } - - /** - * Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. - * @example - * ```js - * // Before running the sample: - * // - Enable the API at: - * // https://console.developers.google.com/apis/api/networkservices.googleapis.com - * // - Login into gcloud by running: - * // `$ gcloud auth application-default login` - * // - Install the npm module by running: - * // `$ npm install googleapis` - * - * const {google} = require('googleapis'); - * const networkservices = google.networkservices('v1'); - * - * async function main() { - * const auth = new google.auth.GoogleAuth({ - * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], - * }); - * - * // Acquire an auth client, and bind it to all future calls - * const authClient = await auth.getClient(); - * google.options({auth: authClient}); - * - * // Do the magic - * const res = - * await networkservices.projects.locations.multicastGroupDefinitions.getIamPolicy( - * { - * // Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). - * 'options.requestedPolicyVersion': 'placeholder-value', - * // REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - * resource: - * 'projects/my-project/locations/my-location/multicastGroupDefinitions/my-multicastGroupDefinition', - * } - * ); - * console.log(res.data); - * - * // Example response - * // { - * // "auditConfigs": [], - * // "bindings": [], - * // "etag": "my_etag", - * // "version": 0 - * // } - * } - * - * main().catch(e => { - * console.error(e); - * throw e; - * }); - * - * ``` - * - * @param params - Parameters for request - * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. - * @param callback - Optional callback that handles the response. - * @returns A promise if used with async/await, or void if used with a callback. - */ - getIamPolicy( - params: Params$Resource$Projects$Locations$Multicastgroupdefinitions$Getiampolicy, - options: StreamMethodOptions - ): GaxiosPromise; - getIamPolicy( - params?: Params$Resource$Projects$Locations$Multicastgroupdefinitions$Getiampolicy, - options?: MethodOptions - ): GaxiosPromise; - getIamPolicy( - params: Params$Resource$Projects$Locations$Multicastgroupdefinitions$Getiampolicy, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - getIamPolicy( - params: Params$Resource$Projects$Locations$Multicastgroupdefinitions$Getiampolicy, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - getIamPolicy( - params: Params$Resource$Projects$Locations$Multicastgroupdefinitions$Getiampolicy, - callback: BodyResponseCallback - ): void; - getIamPolicy(callback: BodyResponseCallback): void; - getIamPolicy( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Multicastgroupdefinitions$Getiampolicy - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Multicastgroupdefinitions$Getiampolicy; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Multicastgroupdefinitions$Getiampolicy; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://networkservices.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'GET', - }, - options - ), - params, - requiredParams: ['resource'], - pathParams: ['resource'], - context: this.context, - }; - if (callback) { - createAPIRequest( - parameters, - callback as BodyResponseCallback - ); - } else { - return createAPIRequest(parameters); - } - } - - /** - * Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. - * @example - * ```js - * // Before running the sample: - * // - Enable the API at: - * // https://console.developers.google.com/apis/api/networkservices.googleapis.com - * // - Login into gcloud by running: - * // `$ gcloud auth application-default login` - * // - Install the npm module by running: - * // `$ npm install googleapis` - * - * const {google} = require('googleapis'); - * const networkservices = google.networkservices('v1'); - * - * async function main() { - * const auth = new google.auth.GoogleAuth({ - * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], - * }); - * - * // Acquire an auth client, and bind it to all future calls - * const authClient = await auth.getClient(); - * google.options({auth: authClient}); - * - * // Do the magic - * const res = - * await networkservices.projects.locations.multicastGroupDefinitions.setIamPolicy( - * { - * // REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - * resource: - * 'projects/my-project/locations/my-location/multicastGroupDefinitions/my-multicastGroupDefinition', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "policy": {}, - * // "updateMask": "my_updateMask" - * // } - * }, - * } - * ); - * console.log(res.data); - * - * // Example response - * // { - * // "auditConfigs": [], - * // "bindings": [], - * // "etag": "my_etag", - * // "version": 0 - * // } - * } - * - * main().catch(e => { - * console.error(e); - * throw e; - * }); - * - * ``` - * - * @param params - Parameters for request - * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. - * @param callback - Optional callback that handles the response. - * @returns A promise if used with async/await, or void if used with a callback. - */ - setIamPolicy( - params: Params$Resource$Projects$Locations$Multicastgroupdefinitions$Setiampolicy, - options: StreamMethodOptions - ): GaxiosPromise; - setIamPolicy( - params?: Params$Resource$Projects$Locations$Multicastgroupdefinitions$Setiampolicy, - options?: MethodOptions - ): GaxiosPromise; - setIamPolicy( - params: Params$Resource$Projects$Locations$Multicastgroupdefinitions$Setiampolicy, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - setIamPolicy( - params: Params$Resource$Projects$Locations$Multicastgroupdefinitions$Setiampolicy, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - setIamPolicy( - params: Params$Resource$Projects$Locations$Multicastgroupdefinitions$Setiampolicy, - callback: BodyResponseCallback - ): void; - setIamPolicy(callback: BodyResponseCallback): void; - setIamPolicy( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Multicastgroupdefinitions$Setiampolicy - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Multicastgroupdefinitions$Setiampolicy; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Multicastgroupdefinitions$Setiampolicy; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://networkservices.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', - }, - options - ), - params, - requiredParams: ['resource'], - pathParams: ['resource'], - context: this.context, - }; - if (callback) { - createAPIRequest( - parameters, - callback as BodyResponseCallback - ); - } else { - return createAPIRequest(parameters); - } - } - - /** - * Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. - * @example - * ```js - * // Before running the sample: - * // - Enable the API at: - * // https://console.developers.google.com/apis/api/networkservices.googleapis.com - * // - Login into gcloud by running: - * // `$ gcloud auth application-default login` - * // - Install the npm module by running: - * // `$ npm install googleapis` - * - * const {google} = require('googleapis'); - * const networkservices = google.networkservices('v1'); - * - * async function main() { - * const auth = new google.auth.GoogleAuth({ - * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], - * }); - * - * // Acquire an auth client, and bind it to all future calls - * const authClient = await auth.getClient(); - * google.options({auth: authClient}); - * - * // Do the magic - * const res = - * await networkservices.projects.locations.multicastGroupDefinitions.testIamPermissions( - * { - * // REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - * resource: - * 'projects/my-project/locations/my-location/multicastGroupDefinitions/my-multicastGroupDefinition', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "permissions": [] - * // } - * }, - * } - * ); - * console.log(res.data); - * - * // Example response - * // { - * // "permissions": [] - * // } - * } - * - * main().catch(e => { - * console.error(e); - * throw e; - * }); - * - * ``` - * - * @param params - Parameters for request - * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. - * @param callback - Optional callback that handles the response. - * @returns A promise if used with async/await, or void if used with a callback. - */ - testIamPermissions( - params: Params$Resource$Projects$Locations$Multicastgroupdefinitions$Testiampermissions, - options: StreamMethodOptions - ): GaxiosPromise; - testIamPermissions( - params?: Params$Resource$Projects$Locations$Multicastgroupdefinitions$Testiampermissions, - options?: MethodOptions - ): GaxiosPromise; - testIamPermissions( - params: Params$Resource$Projects$Locations$Multicastgroupdefinitions$Testiampermissions, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - testIamPermissions( - params: Params$Resource$Projects$Locations$Multicastgroupdefinitions$Testiampermissions, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - testIamPermissions( - params: Params$Resource$Projects$Locations$Multicastgroupdefinitions$Testiampermissions, - callback: BodyResponseCallback - ): void; - testIamPermissions( - callback: BodyResponseCallback - ): void; - testIamPermissions( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Multicastgroupdefinitions$Testiampermissions - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): - | void - | GaxiosPromise - | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Multicastgroupdefinitions$Testiampermissions; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Multicastgroupdefinitions$Testiampermissions; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://networkservices.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', - }, - options - ), - params, - requiredParams: ['resource'], - pathParams: ['resource'], - context: this.context, - }; - if (callback) { - createAPIRequest( - parameters, - callback as BodyResponseCallback - ); - } else { - return createAPIRequest(parameters); - } - } - } - - export interface Params$Resource$Projects$Locations$Multicastgroupdefinitions$Getiampolicy - extends StandardParameters { - /** - * Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). - */ - 'options.requestedPolicyVersion'?: number; - /** - * REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - */ - resource?: string; - } - export interface Params$Resource$Projects$Locations$Multicastgroupdefinitions$Setiampolicy - extends StandardParameters { - /** - * REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - */ - resource?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$SetIamPolicyRequest; - } - export interface Params$Resource$Projects$Locations$Multicastgroupdefinitions$Testiampermissions - extends StandardParameters { - /** - * REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - */ - resource?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$TestIamPermissionsRequest; - } - - export class Resource$Projects$Locations$Multicastgroups { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; - } - - /** - * Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. - * @example - * ```js - * // Before running the sample: - * // - Enable the API at: - * // https://console.developers.google.com/apis/api/networkservices.googleapis.com - * // - Login into gcloud by running: - * // `$ gcloud auth application-default login` - * // - Install the npm module by running: - * // `$ npm install googleapis` - * - * const {google} = require('googleapis'); - * const networkservices = google.networkservices('v1'); - * - * async function main() { - * const auth = new google.auth.GoogleAuth({ - * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], - * }); - * - * // Acquire an auth client, and bind it to all future calls - * const authClient = await auth.getClient(); - * google.options({auth: authClient}); - * - * // Do the magic - * const res = - * await networkservices.projects.locations.multicastGroups.getIamPolicy({ - * // Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). - * 'options.requestedPolicyVersion': 'placeholder-value', - * // REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - * resource: - * 'projects/my-project/locations/my-location/multicastGroups/my-multicastGroup', - * }); - * console.log(res.data); - * - * // Example response - * // { - * // "auditConfigs": [], - * // "bindings": [], - * // "etag": "my_etag", - * // "version": 0 - * // } - * } - * - * main().catch(e => { - * console.error(e); - * throw e; - * }); - * - * ``` - * - * @param params - Parameters for request - * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. - * @param callback - Optional callback that handles the response. - * @returns A promise if used with async/await, or void if used with a callback. - */ - getIamPolicy( - params: Params$Resource$Projects$Locations$Multicastgroups$Getiampolicy, - options: StreamMethodOptions - ): GaxiosPromise; - getIamPolicy( - params?: Params$Resource$Projects$Locations$Multicastgroups$Getiampolicy, - options?: MethodOptions - ): GaxiosPromise; - getIamPolicy( - params: Params$Resource$Projects$Locations$Multicastgroups$Getiampolicy, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - getIamPolicy( - params: Params$Resource$Projects$Locations$Multicastgroups$Getiampolicy, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - getIamPolicy( - params: Params$Resource$Projects$Locations$Multicastgroups$Getiampolicy, - callback: BodyResponseCallback - ): void; - getIamPolicy(callback: BodyResponseCallback): void; - getIamPolicy( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Multicastgroups$Getiampolicy - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Multicastgroups$Getiampolicy; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Multicastgroups$Getiampolicy; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://networkservices.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'GET', - }, - options - ), - params, - requiredParams: ['resource'], - pathParams: ['resource'], - context: this.context, - }; - if (callback) { - createAPIRequest( - parameters, - callback as BodyResponseCallback - ); - } else { - return createAPIRequest(parameters); - } - } - - /** - * Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. - * @example - * ```js - * // Before running the sample: - * // - Enable the API at: - * // https://console.developers.google.com/apis/api/networkservices.googleapis.com - * // - Login into gcloud by running: - * // `$ gcloud auth application-default login` - * // - Install the npm module by running: - * // `$ npm install googleapis` - * - * const {google} = require('googleapis'); - * const networkservices = google.networkservices('v1'); - * - * async function main() { - * const auth = new google.auth.GoogleAuth({ - * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], - * }); - * - * // Acquire an auth client, and bind it to all future calls - * const authClient = await auth.getClient(); - * google.options({auth: authClient}); - * - * // Do the magic - * const res = - * await networkservices.projects.locations.multicastGroups.setIamPolicy({ - * // REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - * resource: - * 'projects/my-project/locations/my-location/multicastGroups/my-multicastGroup', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "policy": {}, - * // "updateMask": "my_updateMask" - * // } - * }, - * }); - * console.log(res.data); - * - * // Example response - * // { - * // "auditConfigs": [], - * // "bindings": [], - * // "etag": "my_etag", - * // "version": 0 - * // } - * } - * - * main().catch(e => { - * console.error(e); - * throw e; - * }); - * - * ``` - * - * @param params - Parameters for request - * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. - * @param callback - Optional callback that handles the response. - * @returns A promise if used with async/await, or void if used with a callback. - */ - setIamPolicy( - params: Params$Resource$Projects$Locations$Multicastgroups$Setiampolicy, - options: StreamMethodOptions - ): GaxiosPromise; - setIamPolicy( - params?: Params$Resource$Projects$Locations$Multicastgroups$Setiampolicy, - options?: MethodOptions - ): GaxiosPromise; - setIamPolicy( - params: Params$Resource$Projects$Locations$Multicastgroups$Setiampolicy, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - setIamPolicy( - params: Params$Resource$Projects$Locations$Multicastgroups$Setiampolicy, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - setIamPolicy( - params: Params$Resource$Projects$Locations$Multicastgroups$Setiampolicy, - callback: BodyResponseCallback - ): void; - setIamPolicy(callback: BodyResponseCallback): void; - setIamPolicy( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Multicastgroups$Setiampolicy - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Multicastgroups$Setiampolicy; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Multicastgroups$Setiampolicy; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://networkservices.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', - }, - options - ), - params, - requiredParams: ['resource'], - pathParams: ['resource'], - context: this.context, - }; - if (callback) { - createAPIRequest( - parameters, - callback as BodyResponseCallback - ); - } else { - return createAPIRequest(parameters); - } - } - - /** - * Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. - * @example - * ```js - * // Before running the sample: - * // - Enable the API at: - * // https://console.developers.google.com/apis/api/networkservices.googleapis.com - * // - Login into gcloud by running: - * // `$ gcloud auth application-default login` - * // - Install the npm module by running: - * // `$ npm install googleapis` - * - * const {google} = require('googleapis'); - * const networkservices = google.networkservices('v1'); - * - * async function main() { - * const auth = new google.auth.GoogleAuth({ - * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], - * }); - * - * // Acquire an auth client, and bind it to all future calls - * const authClient = await auth.getClient(); - * google.options({auth: authClient}); - * - * // Do the magic - * const res = - * await networkservices.projects.locations.multicastGroups.testIamPermissions( - * { - * // REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - * resource: - * 'projects/my-project/locations/my-location/multicastGroups/my-multicastGroup', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "permissions": [] - * // } - * }, - * } - * ); - * console.log(res.data); - * - * // Example response - * // { - * // "permissions": [] - * // } - * } - * - * main().catch(e => { - * console.error(e); - * throw e; - * }); - * - * ``` - * - * @param params - Parameters for request - * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. - * @param callback - Optional callback that handles the response. - * @returns A promise if used with async/await, or void if used with a callback. - */ - testIamPermissions( - params: Params$Resource$Projects$Locations$Multicastgroups$Testiampermissions, - options: StreamMethodOptions - ): GaxiosPromise; - testIamPermissions( - params?: Params$Resource$Projects$Locations$Multicastgroups$Testiampermissions, - options?: MethodOptions - ): GaxiosPromise; - testIamPermissions( - params: Params$Resource$Projects$Locations$Multicastgroups$Testiampermissions, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - testIamPermissions( - params: Params$Resource$Projects$Locations$Multicastgroups$Testiampermissions, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - testIamPermissions( - params: Params$Resource$Projects$Locations$Multicastgroups$Testiampermissions, - callback: BodyResponseCallback - ): void; - testIamPermissions( - callback: BodyResponseCallback - ): void; - testIamPermissions( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Multicastgroups$Testiampermissions - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): - | void - | GaxiosPromise - | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Multicastgroups$Testiampermissions; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Multicastgroups$Testiampermissions; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://networkservices.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', - }, - options - ), - params, - requiredParams: ['resource'], - pathParams: ['resource'], - context: this.context, - }; - if (callback) { - createAPIRequest( - parameters, - callback as BodyResponseCallback - ); - } else { - return createAPIRequest(parameters); - } - } - } - - export interface Params$Resource$Projects$Locations$Multicastgroups$Getiampolicy - extends StandardParameters { - /** - * Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). - */ - 'options.requestedPolicyVersion'?: number; - /** - * REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - */ - resource?: string; - } - export interface Params$Resource$Projects$Locations$Multicastgroups$Setiampolicy - extends StandardParameters { - /** - * REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - */ - resource?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$SetIamPolicyRequest; - } - export interface Params$Resource$Projects$Locations$Multicastgroups$Testiampermissions - extends StandardParameters { - /** - * REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - */ - resource?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$TestIamPermissionsRequest; - } - export class Resource$Projects$Locations$Operations { context: APIRequestContext; constructor(context: APIRequestContext) { diff --git a/src/apis/secretmanager/v1.ts b/src/apis/secretmanager/v1.ts index db776703cdb..8df8bb8f77b 100644 --- a/src/apis/secretmanager/v1.ts +++ b/src/apis/secretmanager/v1.ts @@ -566,7 +566,7 @@ export namespace secretmanager_v1 { */ export interface Schema$Topic { /** - * Required. The resource name of the Pub/Sub topic that will be published to, in the following format: `projects/x/topics/x`. For publication to succeed, the Secret Manager P4SA must have `pubsub.publisher` permissions on the topic. + * Required. The resource name of the Pub/Sub topic that will be published to, in the following format: `projects/x/topics/x`. For publication to succeed, the Secret Manager service agent must have the `pubsub.topic.publish` permission on the topic. The Pub/Sub Publisher role (`roles/pubsub.publisher`) includes this permission. */ name?: string | null; } diff --git a/src/apis/servicenetworking/v1.ts b/src/apis/servicenetworking/v1.ts index 8631614781e..8c8a992238e 100644 --- a/src/apis/servicenetworking/v1.ts +++ b/src/apis/servicenetworking/v1.ts @@ -1613,7 +1613,7 @@ export namespace servicenetworking_v1 { */ methodSettings?: Schema$MethodSettings[]; /** - * Link to a place that API users can report issues. Example: https://issuetracker.google.com/issues/new?component=190865&template=1161103 + * Link to a *public* URI where users can report issues. Example: https://issuetracker.google.com/issues/new?component=190865&template=1161103 */ newIssueUri?: string | null; /** diff --git a/src/apis/servicenetworking/v1beta.ts b/src/apis/servicenetworking/v1beta.ts index c44055c7d59..4c7e34efbe2 100644 --- a/src/apis/servicenetworking/v1beta.ts +++ b/src/apis/servicenetworking/v1beta.ts @@ -1460,7 +1460,7 @@ export namespace servicenetworking_v1beta { */ methodSettings?: Schema$MethodSettings[]; /** - * Link to a place that API users can report issues. Example: https://issuetracker.google.com/issues/new?component=190865&template=1161103 + * Link to a *public* URI where users can report issues. Example: https://issuetracker.google.com/issues/new?component=190865&template=1161103 */ newIssueUri?: string | null; /** diff --git a/src/apis/serviceusage/v1.ts b/src/apis/serviceusage/v1.ts index a824bbf4447..772612ce81e 100644 --- a/src/apis/serviceusage/v1.ts +++ b/src/apis/serviceusage/v1.ts @@ -452,6 +452,31 @@ export namespace serviceusage_v1 { */ referenceDocsUri?: string | null; } + /** + * Consumer Policy is a set of rules that define what services or service groups can be used for a cloud resource hierarchy. + */ + export interface Schema$ConsumerPolicy { + /** + * Optional. Annotations is an unstructured key-value map stored with a policy that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. [AIP-128](https://google.aip.dev/128#annotations) + */ + annotations?: {[key: string]: string} | null; + /** + * Enable rules define usable services and service groups. + */ + enableRules?: Schema$EnableRule[]; + /** + * An opaque tag indicating the current version of the policy, used for concurrency control. + */ + etag?: string | null; + /** + * Output only. The resource name of the policy. For example, `projects/12345/consumerPolicy`, `folders/12345/consumerPolicy`, `organizations/12345/consumerPolicy`. + */ + name?: string | null; + /** + * The last-modified time. + */ + updateTime?: string | null; + } /** * `Context` defines which contexts an API requests. Example: context: rules: - selector: "*" requested: - google.rpc.context.ProjectContext - google.rpc.context.OriginContext The above specifies that all methods in the API request `google.rpc.context.ProjectContext` and `google.rpc.context.OriginContext`. Available context types are defined in package `google.rpc.context`. This also provides mechanism to allowlist any protobuf message extension that can be sent in grpc metadata using “x-goog-ext--bin” and “x-goog-ext--jspb” format. For example, list any service specific protobuf types that can appear in grpc metadata as follows in your yaml file: Example: context: rules: - selector: "google.example.library.v1.LibraryService.CreateBook" allowed_request_extensions: - google.foo.v1.NewExtension allowed_response_extensions: - google.foo.v1.NewExtension You can also specify extension ID instead of fully qualified extension name here. */ @@ -665,6 +690,27 @@ export namespace serviceusage_v1 { */ serviceId?: string | null; } + /** + * The consumer policy rule that defines usable services and service groups. + */ + export interface Schema$EnableRule { + /** + * Client and resource project enable type. + */ + enableType?: string | null; + /** + * DEPRECATED: Please use field `values`. Service group should have prefix `groups/`. The names of the service groups that are enabled (Not Implemented). go/predefined-service-groups. Example: `groups/googleServices`. + */ + groups?: string[] | null; + /** + * DEPRECATED: Please use field `values`. Service should have prefix `services/`. The names of the services that are enabled. Example: `storage.googleapis.com`. + */ + services?: string[] | null; + /** + * The names of the services or service groups that are enabled. Example: `services/storage.googleapis.com`, groups/googleServices`, groups/allServices`. + */ + values?: string[] | null; + } /** * Request message for the `EnableService` method. */ @@ -1838,6 +1884,10 @@ export namespace serviceusage_v1 { * Metadata message that provides information such as progress, partial failures, and similar information on each GetOperation call of LRO returned by UpdateAdminQuotaPolicy. */ export interface Schema$UpdateAdminQuotaPolicyMetadata {} + /** + * Metadata for the `UpdateConsumerPolicyLRO` method. + */ + export interface Schema$UpdateConsumerPolicyLROMetadata {} /** * Configuration controlling usage of a service. */ diff --git a/src/apis/serviceusage/v1beta1.ts b/src/apis/serviceusage/v1beta1.ts index 0f25d3c2d7e..20917130af2 100644 --- a/src/apis/serviceusage/v1beta1.ts +++ b/src/apis/serviceusage/v1beta1.ts @@ -439,6 +439,31 @@ export namespace serviceusage_v1beta1 { */ referenceDocsUri?: string | null; } + /** + * Consumer Policy is a set of rules that define what services or service groups can be used for a cloud resource hierarchy. + */ + export interface Schema$ConsumerPolicy { + /** + * Optional. Annotations is an unstructured key-value map stored with a policy that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. [AIP-128](https://google.aip.dev/128#annotations) + */ + annotations?: {[key: string]: string} | null; + /** + * Enable rules define usable services and service groups. + */ + enableRules?: Schema$EnableRule[]; + /** + * An opaque tag indicating the current version of the policy, used for concurrency control. + */ + etag?: string | null; + /** + * Output only. The resource name of the policy. For example, `projects/12345/consumerPolicy`, `folders/12345/consumerPolicy`, `organizations/12345/consumerPolicy`. + */ + name?: string | null; + /** + * The last-modified time. + */ + updateTime?: string | null; + } /** * Consumer quota settings for a quota limit. */ @@ -705,6 +730,27 @@ export namespace serviceusage_v1beta1 { */ serviceId?: string | null; } + /** + * The consumer policy rule that defines usable services and service groups. + */ + export interface Schema$EnableRule { + /** + * Client and resource project enable type. + */ + enableType?: string | null; + /** + * DEPRECATED: Please use field `values`. Service group should have prefix `groups/`. The names of the service groups that are enabled (Not Implemented). go/predefined-service-groups. Example: `groups/googleServices`. + */ + groups?: string[] | null; + /** + * DEPRECATED: Please use field `values`. Service should have prefix `services/`. The names of the services that are enabled. Example: `storage.googleapis.com`. + */ + services?: string[] | null; + /** + * The names of the services or service groups that are enabled. Example: `services/storage.googleapis.com`, groups/googleServices`, groups/allServices`. + */ + values?: string[] | null; + } /** * Request message for the `EnableService` method. */ @@ -2055,6 +2101,10 @@ export namespace serviceusage_v1beta1 { * Metadata message that provides information such as progress, partial failures, and similar information on each GetOperation call of LRO returned by UpdateAdminQuotaPolicy. */ export interface Schema$UpdateAdminQuotaPolicyMetadata {} + /** + * Metadata for the `UpdateConsumerPolicyLRO` method. + */ + export interface Schema$UpdateConsumerPolicyLROMetadata {} /** * Configuration controlling usage of a service. */ diff --git a/src/apis/toolresults/v1beta3.ts b/src/apis/toolresults/v1beta3.ts index 1a73d699d9e..9d14696a706 100644 --- a/src/apis/toolresults/v1beta3.ts +++ b/src/apis/toolresults/v1beta3.ts @@ -409,7 +409,7 @@ export namespace toolresults_v1beta3 { value?: string | null; } /** - * An Execution represents a collection of Steps. For instance, it could represent: - a mobile test executed across a range of device configurations - a jenkins job with a build step followed by a test step The maximum size of an execution message is 1 MiB. An Execution can be updated until its state is set to COMPLETE at which point it becomes immutable. Next tag: 16 + * An Execution represents a collection of Steps. For instance, it could represent: - a mobile test executed across a range of device configurations - a jenkins job with a build step followed by a test step The maximum size of an execution message is 1 MiB. An Execution can be updated until its state is set to COMPLETE at which point it becomes immutable. Next tag: 17 */ export interface Schema$Execution { /** diff --git a/src/apis/vmmigration/v1.ts b/src/apis/vmmigration/v1.ts index 7c92f486149..a8b41b9e145 100644 --- a/src/apis/vmmigration/v1.ts +++ b/src/apis/vmmigration/v1.ts @@ -599,6 +599,15 @@ export namespace vmmigration_v1 { */ restartType?: string | null; } + /** + * CutoverForecast holds information about future CutoverJobs of a MigratingVm. + */ + export interface Schema$CutoverForecast { + /** + * Output only. Estimation of the CutoverJob duration. + */ + estimatedCutoverJobDuration?: string | null; + } /** * CutoverJob message describes a cutover of a migrating VM. The CutoverJob is the operation of shutting down the VM, creating a snapshot and clonning the VM using the replicated snapshot. */ @@ -1075,6 +1084,10 @@ export namespace vmmigration_v1 { * Output only. Details of the current running replication cycle. */ currentSyncInfo?: Schema$ReplicationCycle; + /** + * Output only. Provides details of future CutoverJobs of a MigratingVm. Set to empty when cutover forecast is unavailable. + */ + cutoverForecast?: Schema$CutoverForecast; /** * The description attached to the migrating VM by the user. */ @@ -5560,6 +5573,7 @@ export namespace vmmigration_v1 { * // "computeEngineTargetDefaults": {}, * // "createTime": "my_createTime", * // "currentSyncInfo": {}, + * // "cutoverForecast": {}, * // "description": "my_description", * // "displayName": "my_displayName", * // "error": {}, @@ -5997,6 +6011,7 @@ export namespace vmmigration_v1 { * // "computeEngineTargetDefaults": {}, * // "createTime": "my_createTime", * // "currentSyncInfo": {}, + * // "cutoverForecast": {}, * // "description": "my_description", * // "displayName": "my_displayName", * // "error": {}, @@ -6293,6 +6308,7 @@ export namespace vmmigration_v1 { * // "computeEngineTargetDefaults": {}, * // "createTime": "my_createTime", * // "currentSyncInfo": {}, + * // "cutoverForecast": {}, * // "description": "my_description", * // "displayName": "my_displayName", * // "error": {}, diff --git a/src/apis/workloadmanager/v1.ts b/src/apis/workloadmanager/v1.ts index a8b6d67abde..4ccaae0debb 100644 --- a/src/apis/workloadmanager/v1.ts +++ b/src/apis/workloadmanager/v1.ts @@ -168,81 +168,11 @@ export namespace workloadmanager_v1 { * Output only. [Output only] The updated rule ids if exist. */ ruleVersions?: string[] | null; - /** - * crontab format schedule for scheduled evaluation, example: 0 x/3 * * * - */ - schedule?: string | null; /** * Output only. [Output only] Update time stamp */ updateTime?: string | null; } - /** - * Message describing Execution object - */ - export interface Schema$Execution { - /** - * Output only. [Output only] End time stamp - */ - endTime?: string | null; - /** - * Output only. [Output only] Evaluation ID - */ - evaluationId?: string | null; - /** - * Output only. [Output only] Inventory time stamp - */ - inventoryTime?: string | null; - /** - * Labels as key value pairs - */ - labels?: {[key: string]: string} | null; - /** - * The name of execution resource. The format is projects/{project\}/locations/{location\}/evaluations/{evaluation\}/executions/{execution\} - */ - name?: string | null; - /** - * type represent whether the execution executed directly by user or scheduled according evaluation.schedule field. - */ - runType?: string | null; - /** - * Output only. [Output only] Start time stamp - */ - startTime?: string | null; - /** - * Output only. [Output only] State - */ - state?: string | null; - } - /** - * Message describing the result of an execution - */ - export interface Schema$ExecutionResult { - /** - * the document url of the rule - */ - documentationUrl?: string | null; - /** - * the violate resource - */ - resource?: Schema$Resource; - /** - * the rule which violate in execution - */ - rule?: string | null; - /** - * severity of violation - */ - severity?: string | null; - /** - * the details of violation in result - */ - violationDetails?: Schema$ViolationDetails; - /** - * the violation message of an execution - */ - violationMessage?: string | null; - } /** * Message describing compute engine instance filter */ @@ -286,36 +216,6 @@ export namespace workloadmanager_v1 { */ unreachable?: string[] | null; } - /** - * Message for response of list execution results - */ - export interface Schema$ListExecutionResultsResponse { - /** - * The versions from the specified publisher. - */ - executionResults?: Schema$ExecutionResult[]; - /** - * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. - */ - nextPageToken?: string | null; - } - /** - * Message for response to listing Executions - */ - export interface Schema$ListExecutionsResponse { - /** - * The list of Execution - */ - executions?: Schema$Execution[]; - /** - * A token identifying a page of results the server should return. - */ - nextPageToken?: string | null; - /** - * Locations that could not be reached. - */ - unreachable?: string[] | null; - } /** * The response message for Locations.ListLocations. */ @@ -342,32 +242,6 @@ export namespace workloadmanager_v1 { */ operations?: Schema$Operation[]; } - /** - * Mesesage of response of list rules - */ - export interface Schema$ListRulesResponse { - /** - * A token identifying a page of results the server should return. - */ - nextPageToken?: string | null; - /** - * all rules in response - */ - rules?: Schema$Rule[]; - } - /** - * Message for response to list scanned resources - */ - export interface Schema$ListScannedResourcesResponse { - /** - * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. - */ - nextPageToken?: string | null; - /** - * All scanned resources in response - */ - scannedResources?: Schema$ScannedResource[]; - } /** * A resource that represents Google Cloud Platform location. */ @@ -451,23 +325,6 @@ export namespace workloadmanager_v1 { */ verb?: string | null; } - /** - * Message represent resource in execution result - */ - export interface Schema$Resource { - /** - * the name of the resource - */ - name?: string | null; - /** - * the service account accosiate with resource - */ - serviceAccount?: string | null; - /** - * the type of reresource - */ - type?: string | null; - } /** * Message describing resource filters */ @@ -502,68 +359,6 @@ export namespace workloadmanager_v1 { */ state?: string | null; } - /** - * Message represent a rule - */ - export interface Schema$Rule { - /** - * descrite rule in plain language - */ - description?: string | null; - /** - * the name display in UI - */ - displayName?: string | null; - /** - * the message template for rule - */ - errorMessage?: string | null; - /** - * rule name - */ - name?: string | null; - /** - * the primary category - */ - primaryCategory?: string | null; - /** - * the remediation for the rule - */ - remediation?: string | null; - /** - * Output only. the version of the rule - */ - revisionId?: string | null; - /** - * the secondary category - */ - secondaryCategory?: string | null; - /** - * the severity of the rule - */ - severity?: string | null; - /** - * the docuement url for the rule - */ - uri?: string | null; - } - /** - * Message for creating a Execution - */ - export interface Schema$RunEvaluationRequest { - /** - * Required. The resource being created - */ - execution?: Schema$Execution; - /** - * Required. Id of the requesting object If auto-generating Id server-side, remove this field and execution_id from the method_signature of Create RPC - */ - executionId?: string | null; - /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - requestId?: string | null; - } /** * The schema of SAP system discovery data. */ @@ -647,10 +442,6 @@ export namespace workloadmanager_v1 { * ComputeInstance, ComputeDisk, VPC, Bare Metal server, etc. */ resourceKind?: string | null; - /** - * Indicates whether this is a new, updated, or missing resource. - */ - resourceState?: string | null; /** * The type of this resource. */ @@ -686,15 +477,6 @@ export namespace workloadmanager_v1 { */ sapValidationType?: string | null; } - /** - * Message of scanned resource - */ - export interface Schema$ScannedResource { - /** - * resource name - */ - resource?: string | null; - } /** * The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). */ @@ -712,23 +494,6 @@ export namespace workloadmanager_v1 { */ message?: string | null; } - /** - * Message describing the violdation in execution result - */ - export interface Schema$ViolationDetails { - /** - * the name of asset - */ - asset?: string | null; - /** - * observed - */ - observed?: {[key: string]: string} | null; - /** - * the service account associate with resource - */ - serviceAccount?: string | null; - } /** * Request for sending the data insights. */ @@ -761,7 +526,6 @@ export namespace workloadmanager_v1 { evaluations: Resource$Projects$Locations$Evaluations; insights: Resource$Projects$Locations$Insights; operations: Resource$Projects$Locations$Operations; - rules: Resource$Projects$Locations$Rules; constructor(context: APIRequestContext) { this.context = context; this.evaluations = new Resource$Projects$Locations$Evaluations( @@ -771,7 +535,6 @@ export namespace workloadmanager_v1 { this.operations = new Resource$Projects$Locations$Operations( this.context ); - this.rules = new Resource$Projects$Locations$Rules(this.context); } /** @@ -1077,12 +840,8 @@ export namespace workloadmanager_v1 { export class Resource$Projects$Locations$Evaluations { context: APIRequestContext; - executions: Resource$Projects$Locations$Evaluations$Executions; constructor(context: APIRequestContext) { this.context = context; - this.executions = new Resource$Projects$Locations$Evaluations$Executions( - this.context - ); } /** @@ -1131,7 +890,6 @@ export namespace workloadmanager_v1 { * // "resourceStatus": {}, * // "ruleNames": [], * // "ruleVersions": [], - * // "schedule": "my_schedule", * // "updateTime": "my_updateTime" * // } * }, @@ -1282,7 +1040,6 @@ export namespace workloadmanager_v1 { * // "resourceStatus": {}, * // "ruleNames": [], * // "ruleVersions": [], - * // "schedule": "my_schedule", * // "updateTime": "my_updateTime" * // } * } @@ -1573,24 +1330,14 @@ export namespace workloadmanager_v1 { parent?: string; } - export class Resource$Projects$Locations$Evaluations$Executions { + export class Resource$Projects$Locations$Insights { context: APIRequestContext; - results: Resource$Projects$Locations$Evaluations$Executions$Results; - scannedResources: Resource$Projects$Locations$Evaluations$Executions$Scannedresources; constructor(context: APIRequestContext) { this.context = context; - this.results = - new Resource$Projects$Locations$Evaluations$Executions$Results( - this.context - ); - this.scannedResources = - new Resource$Projects$Locations$Evaluations$Executions$Scannedresources( - this.context - ); } /** - * Gets details of a single Execution. + * Write the data insights to workload manager data warehouse. * @example * ```js * // Before running the sample: @@ -1615,24 +1362,23 @@ export namespace workloadmanager_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = - * await workloadmanager.projects.locations.evaluations.executions.get({ - * // Required. Name of the resource - * name: 'projects/my-project/locations/my-location/evaluations/my-evaluation/executions/my-execution', - * }); + * const res = await workloadmanager.projects.locations.insights.writeInsight({ + * // Required. The GCP location. The format is: projects/{project\}/locations/{location\}. + * location: 'projects/my-project/locations/my-location', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "insight": {}, + * // "requestId": "my_requestId" + * // } + * }, + * }); * console.log(res.data); * * // Example response - * // { - * // "endTime": "my_endTime", - * // "evaluationId": "my_evaluationId", - * // "inventoryTime": "my_inventoryTime", - * // "labels": {}, - * // "name": "my_name", - * // "runType": "my_runType", - * // "startTime": "my_startTime", - * // "state": "my_state" - * // } + * // {} * } * * main().catch(e => { @@ -1647,51 +1393,57 @@ export namespace workloadmanager_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - get( - params: Params$Resource$Projects$Locations$Evaluations$Executions$Get, + writeInsight( + params: Params$Resource$Projects$Locations$Insights$Writeinsight, options: StreamMethodOptions ): GaxiosPromise; - get( - params?: Params$Resource$Projects$Locations$Evaluations$Executions$Get, + writeInsight( + params?: Params$Resource$Projects$Locations$Insights$Writeinsight, options?: MethodOptions - ): GaxiosPromise; - get( - params: Params$Resource$Projects$Locations$Evaluations$Executions$Get, + ): GaxiosPromise; + writeInsight( + params: Params$Resource$Projects$Locations$Insights$Writeinsight, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Evaluations$Executions$Get, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + writeInsight( + params: Params$Resource$Projects$Locations$Insights$Writeinsight, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Evaluations$Executions$Get, - callback: BodyResponseCallback + writeInsight( + params: Params$Resource$Projects$Locations$Insights$Writeinsight, + callback: BodyResponseCallback ): void; - get(callback: BodyResponseCallback): void; - get( + writeInsight( + callback: BodyResponseCallback + ): void; + writeInsight( paramsOrCallback?: - | Params$Resource$Projects$Locations$Evaluations$Executions$Get - | BodyResponseCallback + | Params$Resource$Projects$Locations$Insights$Writeinsight + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | GaxiosPromise + | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Evaluations$Executions$Get; + {}) as Params$Resource$Projects$Locations$Insights$Writeinsight; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Evaluations$Executions$Get; + params = {} as Params$Resource$Projects$Locations$Insights$Writeinsight; options = {}; } @@ -1705,28 +1457,51 @@ export namespace workloadmanager_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'GET', + url: (rootUrl + '/v1/{+location}/insights:writeInsight').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['location'], + pathParams: ['location'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } + } + + export interface Params$Resource$Projects$Locations$Insights$Writeinsight + extends StandardParameters { + /** + * Required. The GCP location. The format is: projects/{project\}/locations/{location\}. + */ + location?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$WriteInsightRequest; + } + + export class Resource$Projects$Locations$Operations { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } /** - * Lists Executions in a given project and location. + * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. * @example * ```js * // Before running the sample: @@ -1751,28 +1526,20 @@ export namespace workloadmanager_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = - * await workloadmanager.projects.locations.evaluations.executions.list({ - * // Filtering results - * filter: 'placeholder-value', - * // Field to sort by. See https://google.aip.dev/132#ordering for more details. - * orderBy: 'placeholder-value', - * // Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. - * pageSize: 'placeholder-value', - * // A token identifying a page of results the server should return. - * pageToken: 'placeholder-value', - * // Required. The resource prefix of the Execution using the form: 'projects/{project\}/locations/{location\}/evaluations/{evaluation\}' - * parent: - * 'projects/my-project/locations/my-location/evaluations/my-evaluation', - * }); + * const res = await workloadmanager.projects.locations.operations.cancel({ + * // The name of the operation resource to be cancelled. + * name: 'projects/my-project/locations/my-location/operations/my-operation', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // {} + * }, + * }); * console.log(res.data); * * // Example response - * // { - * // "executions": [], - * // "nextPageToken": "my_nextPageToken", - * // "unreachable": [] - * // } + * // {} * } * * main().catch(e => { @@ -1787,876 +1554,8 @@ export namespace workloadmanager_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - list( - params: Params$Resource$Projects$Locations$Evaluations$Executions$List, - options: StreamMethodOptions - ): GaxiosPromise; - list( - params?: Params$Resource$Projects$Locations$Evaluations$Executions$List, - options?: MethodOptions - ): GaxiosPromise; - list( - params: Params$Resource$Projects$Locations$Evaluations$Executions$List, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Projects$Locations$Evaluations$Executions$List, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Projects$Locations$Evaluations$Executions$List, - callback: BodyResponseCallback - ): void; - list(callback: BodyResponseCallback): void; - list( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Evaluations$Executions$List - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): - | void - | GaxiosPromise - | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Evaluations$Executions$List; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Evaluations$Executions$List; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://workloadmanager.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+parent}/executions').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'GET', - }, - options - ), - params, - requiredParams: ['parent'], - pathParams: ['parent'], - context: this.context, - }; - if (callback) { - createAPIRequest( - parameters, - callback as BodyResponseCallback - ); - } else { - return createAPIRequest(parameters); - } - } - - /** - * Creates a new Execution in a given project and location. - * @example - * ```js - * // Before running the sample: - * // - Enable the API at: - * // https://console.developers.google.com/apis/api/workloadmanager.googleapis.com - * // - Login into gcloud by running: - * // `$ gcloud auth application-default login` - * // - Install the npm module by running: - * // `$ npm install googleapis` - * - * const {google} = require('googleapis'); - * const workloadmanager = google.workloadmanager('v1'); - * - * async function main() { - * const auth = new google.auth.GoogleAuth({ - * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], - * }); - * - * // Acquire an auth client, and bind it to all future calls - * const authClient = await auth.getClient(); - * google.options({auth: authClient}); - * - * // Do the magic - * const res = - * await workloadmanager.projects.locations.evaluations.executions.run({ - * // Required. The resource name of the Execution using the form: 'projects/{project\}/locations/{location\}/evaluations/{evaluation\}/executions/{execution\}' - * name: 'projects/my-project/locations/my-location/evaluations/my-evaluation', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "execution": {}, - * // "executionId": "my_executionId", - * // "requestId": "my_requestId" - * // } - * }, - * }); - * console.log(res.data); - * - * // Example response - * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, - * // "name": "my_name", - * // "response": {} - * // } - * } - * - * main().catch(e => { - * console.error(e); - * throw e; - * }); - * - * ``` - * - * @param params - Parameters for request - * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. - * @param callback - Optional callback that handles the response. - * @returns A promise if used with async/await, or void if used with a callback. - */ - run( - params: Params$Resource$Projects$Locations$Evaluations$Executions$Run, - options: StreamMethodOptions - ): GaxiosPromise; - run( - params?: Params$Resource$Projects$Locations$Evaluations$Executions$Run, - options?: MethodOptions - ): GaxiosPromise; - run( - params: Params$Resource$Projects$Locations$Evaluations$Executions$Run, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - run( - params: Params$Resource$Projects$Locations$Evaluations$Executions$Run, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - run( - params: Params$Resource$Projects$Locations$Evaluations$Executions$Run, - callback: BodyResponseCallback - ): void; - run(callback: BodyResponseCallback): void; - run( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Evaluations$Executions$Run - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Evaluations$Executions$Run; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Evaluations$Executions$Run; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://workloadmanager.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+name}/executions:run').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', - }, - options - ), - params, - requiredParams: ['name'], - pathParams: ['name'], - context: this.context, - }; - if (callback) { - createAPIRequest( - parameters, - callback as BodyResponseCallback - ); - } else { - return createAPIRequest(parameters); - } - } - } - - export interface Params$Resource$Projects$Locations$Evaluations$Executions$Get - extends StandardParameters { - /** - * Required. Name of the resource - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$Evaluations$Executions$List - extends StandardParameters { - /** - * Filtering results - */ - filter?: string; - /** - * Field to sort by. See https://google.aip.dev/132#ordering for more details. - */ - orderBy?: string; - /** - * Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. - */ - pageSize?: number; - /** - * A token identifying a page of results the server should return. - */ - pageToken?: string; - /** - * Required. The resource prefix of the Execution using the form: 'projects/{project\}/locations/{location\}/evaluations/{evaluation\}' - */ - parent?: string; - } - export interface Params$Resource$Projects$Locations$Evaluations$Executions$Run - extends StandardParameters { - /** - * Required. The resource name of the Execution using the form: 'projects/{project\}/locations/{location\}/evaluations/{evaluation\}/executions/{execution\}' - */ - name?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$RunEvaluationRequest; - } - - export class Resource$Projects$Locations$Evaluations$Executions$Results { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; - } - - /** - * List the running result of a single Execution. - * @example - * ```js - * // Before running the sample: - * // - Enable the API at: - * // https://console.developers.google.com/apis/api/workloadmanager.googleapis.com - * // - Login into gcloud by running: - * // `$ gcloud auth application-default login` - * // - Install the npm module by running: - * // `$ npm install googleapis` - * - * const {google} = require('googleapis'); - * const workloadmanager = google.workloadmanager('v1'); - * - * async function main() { - * const auth = new google.auth.GoogleAuth({ - * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], - * }); - * - * // Acquire an auth client, and bind it to all future calls - * const authClient = await auth.getClient(); - * google.options({auth: authClient}); - * - * // Do the magic - * const res = - * await workloadmanager.projects.locations.evaluations.executions.results.list( - * { - * // Filtering results - * filter: 'placeholder-value', - * // Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. - * pageSize: 'placeholder-value', - * // A token identifying a page of results the server should return. - * pageToken: 'placeholder-value', - * // Required. The execution results. Format: {parent\}/evaluations/x/executions/x/results - * parent: - * 'projects/my-project/locations/my-location/evaluations/my-evaluation/executions/my-execution', - * } - * ); - * console.log(res.data); - * - * // Example response - * // { - * // "executionResults": [], - * // "nextPageToken": "my_nextPageToken" - * // } - * } - * - * main().catch(e => { - * console.error(e); - * throw e; - * }); - * - * ``` - * - * @param params - Parameters for request - * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. - * @param callback - Optional callback that handles the response. - * @returns A promise if used with async/await, or void if used with a callback. - */ - list( - params: Params$Resource$Projects$Locations$Evaluations$Executions$Results$List, - options: StreamMethodOptions - ): GaxiosPromise; - list( - params?: Params$Resource$Projects$Locations$Evaluations$Executions$Results$List, - options?: MethodOptions - ): GaxiosPromise; - list( - params: Params$Resource$Projects$Locations$Evaluations$Executions$Results$List, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Projects$Locations$Evaluations$Executions$Results$List, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Projects$Locations$Evaluations$Executions$Results$List, - callback: BodyResponseCallback - ): void; - list( - callback: BodyResponseCallback - ): void; - list( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Evaluations$Executions$Results$List - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): - | void - | GaxiosPromise - | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Evaluations$Executions$Results$List; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Evaluations$Executions$Results$List; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://workloadmanager.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+parent}/results').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'GET', - }, - options - ), - params, - requiredParams: ['parent'], - pathParams: ['parent'], - context: this.context, - }; - if (callback) { - createAPIRequest( - parameters, - callback as BodyResponseCallback - ); - } else { - return createAPIRequest( - parameters - ); - } - } - } - - export interface Params$Resource$Projects$Locations$Evaluations$Executions$Results$List - extends StandardParameters { - /** - * Filtering results - */ - filter?: string; - /** - * Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. - */ - pageSize?: number; - /** - * A token identifying a page of results the server should return. - */ - pageToken?: string; - /** - * Required. The execution results. Format: {parent\}/evaluations/x/executions/x/results - */ - parent?: string; - } - - export class Resource$Projects$Locations$Evaluations$Executions$Scannedresources { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; - } - - /** - * List all scanned resources for a single Execution. - * @example - * ```js - * // Before running the sample: - * // - Enable the API at: - * // https://console.developers.google.com/apis/api/workloadmanager.googleapis.com - * // - Login into gcloud by running: - * // `$ gcloud auth application-default login` - * // - Install the npm module by running: - * // `$ npm install googleapis` - * - * const {google} = require('googleapis'); - * const workloadmanager = google.workloadmanager('v1'); - * - * async function main() { - * const auth = new google.auth.GoogleAuth({ - * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], - * }); - * - * // Acquire an auth client, and bind it to all future calls - * const authClient = await auth.getClient(); - * google.options({auth: authClient}); - * - * // Do the magic - * const res = - * await workloadmanager.projects.locations.evaluations.executions.scannedResources.list( - * { - * // Filtering results - * filter: 'placeholder-value', - * // Field to sort by. See https://google.aip.dev/132#ordering for more details. - * orderBy: 'placeholder-value', - * // Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. - * pageSize: 'placeholder-value', - * // A token identifying a page of results the server should return. - * pageToken: 'placeholder-value', - * // Required. parent for ListScannedResourcesRequest - * parent: - * 'projects/my-project/locations/my-location/evaluations/my-evaluation/executions/my-execution', - * // rule name - * rule: 'placeholder-value', - * } - * ); - * console.log(res.data); - * - * // Example response - * // { - * // "nextPageToken": "my_nextPageToken", - * // "scannedResources": [] - * // } - * } - * - * main().catch(e => { - * console.error(e); - * throw e; - * }); - * - * ``` - * - * @param params - Parameters for request - * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. - * @param callback - Optional callback that handles the response. - * @returns A promise if used with async/await, or void if used with a callback. - */ - list( - params: Params$Resource$Projects$Locations$Evaluations$Executions$Scannedresources$List, - options: StreamMethodOptions - ): GaxiosPromise; - list( - params?: Params$Resource$Projects$Locations$Evaluations$Executions$Scannedresources$List, - options?: MethodOptions - ): GaxiosPromise; - list( - params: Params$Resource$Projects$Locations$Evaluations$Executions$Scannedresources$List, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Projects$Locations$Evaluations$Executions$Scannedresources$List, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Projects$Locations$Evaluations$Executions$Scannedresources$List, - callback: BodyResponseCallback - ): void; - list( - callback: BodyResponseCallback - ): void; - list( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Evaluations$Executions$Scannedresources$List - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): - | void - | GaxiosPromise - | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Evaluations$Executions$Scannedresources$List; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Evaluations$Executions$Scannedresources$List; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://workloadmanager.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+parent}/scannedResources').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'GET', - }, - options - ), - params, - requiredParams: ['parent'], - pathParams: ['parent'], - context: this.context, - }; - if (callback) { - createAPIRequest( - parameters, - callback as BodyResponseCallback - ); - } else { - return createAPIRequest( - parameters - ); - } - } - } - - export interface Params$Resource$Projects$Locations$Evaluations$Executions$Scannedresources$List - extends StandardParameters { - /** - * Filtering results - */ - filter?: string; - /** - * Field to sort by. See https://google.aip.dev/132#ordering for more details. - */ - orderBy?: string; - /** - * Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. - */ - pageSize?: number; - /** - * A token identifying a page of results the server should return. - */ - pageToken?: string; - /** - * Required. parent for ListScannedResourcesRequest - */ - parent?: string; - /** - * rule name - */ - rule?: string; - } - - export class Resource$Projects$Locations$Insights { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; - } - - /** - * Write the data insights to workload manager data warehouse. - * @example - * ```js - * // Before running the sample: - * // - Enable the API at: - * // https://console.developers.google.com/apis/api/workloadmanager.googleapis.com - * // - Login into gcloud by running: - * // `$ gcloud auth application-default login` - * // - Install the npm module by running: - * // `$ npm install googleapis` - * - * const {google} = require('googleapis'); - * const workloadmanager = google.workloadmanager('v1'); - * - * async function main() { - * const auth = new google.auth.GoogleAuth({ - * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], - * }); - * - * // Acquire an auth client, and bind it to all future calls - * const authClient = await auth.getClient(); - * google.options({auth: authClient}); - * - * // Do the magic - * const res = await workloadmanager.projects.locations.insights.writeInsight({ - * // Required. The GCP location. The format is: projects/{project\}/locations/{location\}. - * location: 'projects/my-project/locations/my-location', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "insight": {}, - * // "requestId": "my_requestId" - * // } - * }, - * }); - * console.log(res.data); - * - * // Example response - * // {} - * } - * - * main().catch(e => { - * console.error(e); - * throw e; - * }); - * - * ``` - * - * @param params - Parameters for request - * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. - * @param callback - Optional callback that handles the response. - * @returns A promise if used with async/await, or void if used with a callback. - */ - writeInsight( - params: Params$Resource$Projects$Locations$Insights$Writeinsight, - options: StreamMethodOptions - ): GaxiosPromise; - writeInsight( - params?: Params$Resource$Projects$Locations$Insights$Writeinsight, - options?: MethodOptions - ): GaxiosPromise; - writeInsight( - params: Params$Resource$Projects$Locations$Insights$Writeinsight, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - writeInsight( - params: Params$Resource$Projects$Locations$Insights$Writeinsight, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - writeInsight( - params: Params$Resource$Projects$Locations$Insights$Writeinsight, - callback: BodyResponseCallback - ): void; - writeInsight( - callback: BodyResponseCallback - ): void; - writeInsight( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Insights$Writeinsight - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): - | void - | GaxiosPromise - | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Insights$Writeinsight; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Insights$Writeinsight; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://workloadmanager.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+location}/insights:writeInsight').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', - }, - options - ), - params, - requiredParams: ['location'], - pathParams: ['location'], - context: this.context, - }; - if (callback) { - createAPIRequest( - parameters, - callback as BodyResponseCallback - ); - } else { - return createAPIRequest(parameters); - } - } - } - - export interface Params$Resource$Projects$Locations$Insights$Writeinsight - extends StandardParameters { - /** - * Required. The GCP location. The format is: projects/{project\}/locations/{location\}. - */ - location?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$WriteInsightRequest; - } - - export class Resource$Projects$Locations$Operations { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; - } - - /** - * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. - * @example - * ```js - * // Before running the sample: - * // - Enable the API at: - * // https://console.developers.google.com/apis/api/workloadmanager.googleapis.com - * // - Login into gcloud by running: - * // `$ gcloud auth application-default login` - * // - Install the npm module by running: - * // `$ npm install googleapis` - * - * const {google} = require('googleapis'); - * const workloadmanager = google.workloadmanager('v1'); - * - * async function main() { - * const auth = new google.auth.GoogleAuth({ - * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], - * }); - * - * // Acquire an auth client, and bind it to all future calls - * const authClient = await auth.getClient(); - * google.options({auth: authClient}); - * - * // Do the magic - * const res = await workloadmanager.projects.locations.operations.cancel({ - * // The name of the operation resource to be cancelled. - * name: 'projects/my-project/locations/my-location/operations/my-operation', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // {} - * }, - * }); - * console.log(res.data); - * - * // Example response - * // {} - * } - * - * main().catch(e => { - * console.error(e); - * throw e; - * }); - * - * ``` - * - * @param params - Parameters for request - * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. - * @param callback - Optional callback that handles the response. - * @returns A promise if used with async/await, or void if used with a callback. - */ - cancel( - params: Params$Resource$Projects$Locations$Operations$Cancel, + cancel( + params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions ): GaxiosPromise; cancel( @@ -3176,171 +2075,4 @@ export namespace workloadmanager_v1 { */ pageToken?: string; } - - export class Resource$Projects$Locations$Rules { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; - } - - /** - * Lists rules in a given project. - * @example - * ```js - * // Before running the sample: - * // - Enable the API at: - * // https://console.developers.google.com/apis/api/workloadmanager.googleapis.com - * // - Login into gcloud by running: - * // `$ gcloud auth application-default login` - * // - Install the npm module by running: - * // `$ npm install googleapis` - * - * const {google} = require('googleapis'); - * const workloadmanager = google.workloadmanager('v1'); - * - * async function main() { - * const auth = new google.auth.GoogleAuth({ - * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], - * }); - * - * // Acquire an auth client, and bind it to all future calls - * const authClient = await auth.getClient(); - * google.options({auth: authClient}); - * - * // Do the magic - * const res = await workloadmanager.projects.locations.rules.list({ - * // Filter based on primary_category, secondary_category - * filter: 'placeholder-value', - * // Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. - * pageSize: 'placeholder-value', - * // A token identifying a page of results the server should return. - * pageToken: 'placeholder-value', - * // Required. The [project] on which to execute the request. The format is: projects/{project_id\}/locations/{location\} Currently, the pre-defined rules are global available to all projects and all regions - * parent: 'projects/my-project/locations/my-location', - * }); - * console.log(res.data); - * - * // Example response - * // { - * // "nextPageToken": "my_nextPageToken", - * // "rules": [] - * // } - * } - * - * main().catch(e => { - * console.error(e); - * throw e; - * }); - * - * ``` - * - * @param params - Parameters for request - * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. - * @param callback - Optional callback that handles the response. - * @returns A promise if used with async/await, or void if used with a callback. - */ - list( - params: Params$Resource$Projects$Locations$Rules$List, - options: StreamMethodOptions - ): GaxiosPromise; - list( - params?: Params$Resource$Projects$Locations$Rules$List, - options?: MethodOptions - ): GaxiosPromise; - list( - params: Params$Resource$Projects$Locations$Rules$List, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Projects$Locations$Rules$List, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Projects$Locations$Rules$List, - callback: BodyResponseCallback - ): void; - list(callback: BodyResponseCallback): void; - list( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Rules$List - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): - | void - | GaxiosPromise - | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Rules$List; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Rules$List; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://workloadmanager.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+parent}/rules').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'GET', - }, - options - ), - params, - requiredParams: ['parent'], - pathParams: ['parent'], - context: this.context, - }; - if (callback) { - createAPIRequest( - parameters, - callback as BodyResponseCallback - ); - } else { - return createAPIRequest(parameters); - } - } - } - - export interface Params$Resource$Projects$Locations$Rules$List - extends StandardParameters { - /** - * Filter based on primary_category, secondary_category - */ - filter?: string; - /** - * Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. - */ - pageSize?: number; - /** - * A token identifying a page of results the server should return. - */ - pageToken?: string; - /** - * Required. The [project] on which to execute the request. The format is: projects/{project_id\}/locations/{location\} Currently, the pre-defined rules are global available to all projects and all regions - */ - parent?: string; - } }