diff --git a/api_names_out.yaml b/api_names_out.yaml index 7d826ee9a..19e7770b4 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -9614,9 +9614,37 @@ "/apigee:v1/GoogleCloudApigeeV1Deployment/basePath": base_path "/apigee:v1/GoogleCloudApigeeV1Deployment/deployStartTime": deploy_start_time "/apigee:v1/GoogleCloudApigeeV1Deployment/environment": environment +"/apigee:v1/GoogleCloudApigeeV1Deployment/errors": errors +"/apigee:v1/GoogleCloudApigeeV1Deployment/errors/error": error +"/apigee:v1/GoogleCloudApigeeV1Deployment/instances": instances +"/apigee:v1/GoogleCloudApigeeV1Deployment/instances/instance": instance "/apigee:v1/GoogleCloudApigeeV1Deployment/pods": pods "/apigee:v1/GoogleCloudApigeeV1Deployment/pods/pod": pod "/apigee:v1/GoogleCloudApigeeV1Deployment/revision": revision +"/apigee:v1/GoogleCloudApigeeV1Deployment/routeConflicts": route_conflicts +"/apigee:v1/GoogleCloudApigeeV1Deployment/routeConflicts/route_conflict": route_conflict +"/apigee:v1/GoogleCloudApigeeV1Deployment/state": state +"/apigee:v1/GoogleCloudApigeeV1DeploymentChangeReport": google_cloud_apigee_v1_deployment_change_report +"/apigee:v1/GoogleCloudApigeeV1DeploymentChangeReport/routingChanges": routing_changes +"/apigee:v1/GoogleCloudApigeeV1DeploymentChangeReport/routingChanges/routing_change": routing_change +"/apigee:v1/GoogleCloudApigeeV1DeploymentChangeReport/routingConflicts": routing_conflicts +"/apigee:v1/GoogleCloudApigeeV1DeploymentChangeReport/routingConflicts/routing_conflict": routing_conflict +"/apigee:v1/GoogleCloudApigeeV1DeploymentChangeReport/validationErrors": validation_errors +"/apigee:v1/GoogleCloudApigeeV1DeploymentChangeReportRoutingChange": google_cloud_apigee_v1_deployment_change_report_routing_change +"/apigee:v1/GoogleCloudApigeeV1DeploymentChangeReportRoutingChange/description": description +"/apigee:v1/GoogleCloudApigeeV1DeploymentChangeReportRoutingChange/environmentGroup": environment_group +"/apigee:v1/GoogleCloudApigeeV1DeploymentChangeReportRoutingChange/fromDeployment": from_deployment +"/apigee:v1/GoogleCloudApigeeV1DeploymentChangeReportRoutingChange/shouldSequenceRollout": should_sequence_rollout +"/apigee:v1/GoogleCloudApigeeV1DeploymentChangeReportRoutingChange/toDeployment": to_deployment +"/apigee:v1/GoogleCloudApigeeV1DeploymentChangeReportRoutingConflict": google_cloud_apigee_v1_deployment_change_report_routing_conflict +"/apigee:v1/GoogleCloudApigeeV1DeploymentChangeReportRoutingConflict/conflictingDeployment": conflicting_deployment +"/apigee:v1/GoogleCloudApigeeV1DeploymentChangeReportRoutingConflict/description": description +"/apigee:v1/GoogleCloudApigeeV1DeploymentChangeReportRoutingConflict/environmentGroup": environment_group +"/apigee:v1/GoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment": google_cloud_apigee_v1_deployment_change_report_routing_deployment +"/apigee:v1/GoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment/apiProxy": api_proxy +"/apigee:v1/GoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment/basepath": basepath +"/apigee:v1/GoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment/environment": environment +"/apigee:v1/GoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment/revision": revision "/apigee:v1/GoogleCloudApigeeV1DeploymentConfig": google_cloud_apigee_v1_deployment_config "/apigee:v1/GoogleCloudApigeeV1DeploymentConfig/attributes": attributes "/apigee:v1/GoogleCloudApigeeV1DeploymentConfig/attributes/attribute": attribute @@ -9713,6 +9741,24 @@ "/apigee:v1/GoogleCloudApigeeV1EnvironmentConfig/targets": targets "/apigee:v1/GoogleCloudApigeeV1EnvironmentConfig/targets/target": target "/apigee:v1/GoogleCloudApigeeV1EnvironmentConfig/uid": uid +"/apigee:v1/GoogleCloudApigeeV1EnvironmentGroup": google_cloud_apigee_v1_environment_group +"/apigee:v1/GoogleCloudApigeeV1EnvironmentGroup/createdAt": created_at +"/apigee:v1/GoogleCloudApigeeV1EnvironmentGroup/hostnames": hostnames +"/apigee:v1/GoogleCloudApigeeV1EnvironmentGroup/hostnames/hostname": hostname +"/apigee:v1/GoogleCloudApigeeV1EnvironmentGroup/lastModifiedAt": last_modified_at +"/apigee:v1/GoogleCloudApigeeV1EnvironmentGroup/name": name +"/apigee:v1/GoogleCloudApigeeV1EnvironmentGroupAttachment": google_cloud_apigee_v1_environment_group_attachment +"/apigee:v1/GoogleCloudApigeeV1EnvironmentGroupAttachment/createdAt": created_at +"/apigee:v1/GoogleCloudApigeeV1EnvironmentGroupAttachment/environment": environment +"/apigee:v1/GoogleCloudApigeeV1EnvironmentGroupAttachment/name": name +"/apigee:v1/GoogleCloudApigeeV1EnvironmentGroupConfig": google_cloud_apigee_v1_environment_group_config +"/apigee:v1/GoogleCloudApigeeV1EnvironmentGroupConfig/hostnames": hostnames +"/apigee:v1/GoogleCloudApigeeV1EnvironmentGroupConfig/hostnames/hostname": hostname +"/apigee:v1/GoogleCloudApigeeV1EnvironmentGroupConfig/name": name +"/apigee:v1/GoogleCloudApigeeV1EnvironmentGroupConfig/revisionId": revision_id +"/apigee:v1/GoogleCloudApigeeV1EnvironmentGroupConfig/routingRules": routing_rules +"/apigee:v1/GoogleCloudApigeeV1EnvironmentGroupConfig/routingRules/routing_rule": routing_rule +"/apigee:v1/GoogleCloudApigeeV1EnvironmentGroupConfig/uid": uid "/apigee:v1/GoogleCloudApigeeV1FlowHook": google_cloud_apigee_v1_flow_hook "/apigee:v1/GoogleCloudApigeeV1FlowHook/continueOnError": continue_on_error "/apigee:v1/GoogleCloudApigeeV1FlowHook/description": description @@ -9723,6 +9769,42 @@ "/apigee:v1/GoogleCloudApigeeV1FlowHookConfig/name": name "/apigee:v1/GoogleCloudApigeeV1FlowHookConfig/sharedFlowName": shared_flow_name "/apigee:v1/GoogleCloudApigeeV1GetSyncAuthorizationRequest": google_cloud_apigee_v1_get_sync_authorization_request +"/apigee:v1/GoogleCloudApigeeV1IngressConfig": google_cloud_apigee_v1_ingress_config +"/apigee:v1/GoogleCloudApigeeV1IngressConfig/createTime": create_time +"/apigee:v1/GoogleCloudApigeeV1IngressConfig/environmentGroups": environment_groups +"/apigee:v1/GoogleCloudApigeeV1IngressConfig/environmentGroups/environment_group": environment_group +"/apigee:v1/GoogleCloudApigeeV1IngressConfig/name": name +"/apigee:v1/GoogleCloudApigeeV1IngressConfig/revisionId": revision_id +"/apigee:v1/GoogleCloudApigeeV1IngressConfig/sequenceNumber": sequence_number +"/apigee:v1/GoogleCloudApigeeV1IngressConfig/uid": uid +"/apigee:v1/GoogleCloudApigeeV1Instance": google_cloud_apigee_v1_instance +"/apigee:v1/GoogleCloudApigeeV1Instance/createdAt": created_at +"/apigee:v1/GoogleCloudApigeeV1Instance/description": description +"/apigee:v1/GoogleCloudApigeeV1Instance/diskEncryptionKeyName": disk_encryption_key_name +"/apigee:v1/GoogleCloudApigeeV1Instance/displayName": display_name +"/apigee:v1/GoogleCloudApigeeV1Instance/host": host +"/apigee:v1/GoogleCloudApigeeV1Instance/lastModifiedAt": last_modified_at +"/apigee:v1/GoogleCloudApigeeV1Instance/name": name +"/apigee:v1/GoogleCloudApigeeV1Instance/port": port +"/apigee:v1/GoogleCloudApigeeV1Instance/region": region +"/apigee:v1/GoogleCloudApigeeV1InstanceAttachment": google_cloud_apigee_v1_instance_attachment +"/apigee:v1/GoogleCloudApigeeV1InstanceAttachment/createdAt": created_at +"/apigee:v1/GoogleCloudApigeeV1InstanceAttachment/environment": environment +"/apigee:v1/GoogleCloudApigeeV1InstanceAttachment/name": name +"/apigee:v1/GoogleCloudApigeeV1InstanceDeploymentStatus": google_cloud_apigee_v1_instance_deployment_status +"/apigee:v1/GoogleCloudApigeeV1InstanceDeploymentStatus/deployedRevisions": deployed_revisions +"/apigee:v1/GoogleCloudApigeeV1InstanceDeploymentStatus/deployedRevisions/deployed_revision": deployed_revision +"/apigee:v1/GoogleCloudApigeeV1InstanceDeploymentStatus/deployedRoutes": deployed_routes +"/apigee:v1/GoogleCloudApigeeV1InstanceDeploymentStatus/deployedRoutes/deployed_route": deployed_route +"/apigee:v1/GoogleCloudApigeeV1InstanceDeploymentStatus/instance": instance +"/apigee:v1/GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRevision": google_cloud_apigee_v1_instance_deployment_status_deployed_revision +"/apigee:v1/GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRevision/percentage": percentage +"/apigee:v1/GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRevision/revision": revision +"/apigee:v1/GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRoute": google_cloud_apigee_v1_instance_deployment_status_deployed_route +"/apigee:v1/GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRoute/basepath": basepath +"/apigee:v1/GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRoute/envgroup": envgroup +"/apigee:v1/GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRoute/environment": environment +"/apigee:v1/GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRoute/percentage": percentage "/apigee:v1/GoogleCloudApigeeV1KeyAliasReference": google_cloud_apigee_v1_key_alias_reference "/apigee:v1/GoogleCloudApigeeV1KeyAliasReference/aliasId": alias_id "/apigee:v1/GoogleCloudApigeeV1KeyAliasReference/reference": reference @@ -9762,12 +9844,28 @@ "/apigee:v1/GoogleCloudApigeeV1ListDeveloperAppsResponse": google_cloud_apigee_v1_list_developer_apps_response "/apigee:v1/GoogleCloudApigeeV1ListDeveloperAppsResponse/app": app "/apigee:v1/GoogleCloudApigeeV1ListDeveloperAppsResponse/app/app": app +"/apigee:v1/GoogleCloudApigeeV1ListEnvironmentGroupAttachmentsResponse": google_cloud_apigee_v1_list_environment_group_attachments_response +"/apigee:v1/GoogleCloudApigeeV1ListEnvironmentGroupAttachmentsResponse/environmentGroupAttachments": environment_group_attachments +"/apigee:v1/GoogleCloudApigeeV1ListEnvironmentGroupAttachmentsResponse/environmentGroupAttachments/environment_group_attachment": environment_group_attachment +"/apigee:v1/GoogleCloudApigeeV1ListEnvironmentGroupAttachmentsResponse/nextPageToken": next_page_token +"/apigee:v1/GoogleCloudApigeeV1ListEnvironmentGroupsResponse": google_cloud_apigee_v1_list_environment_groups_response +"/apigee:v1/GoogleCloudApigeeV1ListEnvironmentGroupsResponse/environmentGroups": environment_groups +"/apigee:v1/GoogleCloudApigeeV1ListEnvironmentGroupsResponse/environmentGroups/environment_group": environment_group +"/apigee:v1/GoogleCloudApigeeV1ListEnvironmentGroupsResponse/nextPageToken": next_page_token "/apigee:v1/GoogleCloudApigeeV1ListEnvironmentResourcesResponse": google_cloud_apigee_v1_list_environment_resources_response "/apigee:v1/GoogleCloudApigeeV1ListEnvironmentResourcesResponse/resourceFile": resource_file "/apigee:v1/GoogleCloudApigeeV1ListEnvironmentResourcesResponse/resourceFile/resource_file": resource_file "/apigee:v1/GoogleCloudApigeeV1ListHybridIssuersResponse": google_cloud_apigee_v1_list_hybrid_issuers_response "/apigee:v1/GoogleCloudApigeeV1ListHybridIssuersResponse/issuers": issuers "/apigee:v1/GoogleCloudApigeeV1ListHybridIssuersResponse/issuers/issuer": issuer +"/apigee:v1/GoogleCloudApigeeV1ListInstanceAttachmentsResponse": google_cloud_apigee_v1_list_instance_attachments_response +"/apigee:v1/GoogleCloudApigeeV1ListInstanceAttachmentsResponse/attachments": attachments +"/apigee:v1/GoogleCloudApigeeV1ListInstanceAttachmentsResponse/attachments/attachment": attachment +"/apigee:v1/GoogleCloudApigeeV1ListInstanceAttachmentsResponse/nextPageToken": next_page_token +"/apigee:v1/GoogleCloudApigeeV1ListInstancesResponse": google_cloud_apigee_v1_list_instances_response +"/apigee:v1/GoogleCloudApigeeV1ListInstancesResponse/instances": instances +"/apigee:v1/GoogleCloudApigeeV1ListInstancesResponse/instances/instance": instance +"/apigee:v1/GoogleCloudApigeeV1ListInstancesResponse/nextPageToken": next_page_token "/apigee:v1/GoogleCloudApigeeV1ListOfDevelopersResponse": google_cloud_apigee_v1_list_of_developers_response "/apigee:v1/GoogleCloudApigeeV1ListOfDevelopersResponse/developer": developer "/apigee:v1/GoogleCloudApigeeV1ListOfDevelopersResponse/developer/developer": developer @@ -9805,6 +9903,8 @@ "/apigee:v1/GoogleCloudApigeeV1Organization/analyticsRegion": analytics_region "/apigee:v1/GoogleCloudApigeeV1Organization/attributes": attributes "/apigee:v1/GoogleCloudApigeeV1Organization/attributes/attribute": attribute +"/apigee:v1/GoogleCloudApigeeV1Organization/authorizedNetwork": authorized_network +"/apigee:v1/GoogleCloudApigeeV1Organization/caCertificate": ca_certificate "/apigee:v1/GoogleCloudApigeeV1Organization/createdAt": created_at "/apigee:v1/GoogleCloudApigeeV1Organization/customerName": customer_name "/apigee:v1/GoogleCloudApigeeV1Organization/description": description @@ -9878,6 +9978,12 @@ "/apigee:v1/GoogleCloudApigeeV1ReferenceConfig": google_cloud_apigee_v1_reference_config "/apigee:v1/GoogleCloudApigeeV1ReferenceConfig/name": name "/apigee:v1/GoogleCloudApigeeV1ReferenceConfig/resourceName": resource_name +"/apigee:v1/GoogleCloudApigeeV1ReportInstanceStatusRequest": google_cloud_apigee_v1_report_instance_status_request +"/apigee:v1/GoogleCloudApigeeV1ReportInstanceStatusRequest/instanceUid": instance_uid +"/apigee:v1/GoogleCloudApigeeV1ReportInstanceStatusRequest/reportTime": report_time +"/apigee:v1/GoogleCloudApigeeV1ReportInstanceStatusRequest/resources": resources +"/apigee:v1/GoogleCloudApigeeV1ReportInstanceStatusRequest/resources/resource": resource +"/apigee:v1/GoogleCloudApigeeV1ReportInstanceStatusResponse": google_cloud_apigee_v1_report_instance_status_response "/apigee:v1/GoogleCloudApigeeV1ReportProperty": google_cloud_apigee_v1_report_property "/apigee:v1/GoogleCloudApigeeV1ReportProperty/property": property "/apigee:v1/GoogleCloudApigeeV1ReportProperty/value": value @@ -9891,6 +9997,12 @@ "/apigee:v1/GoogleCloudApigeeV1ResourceFiles": google_cloud_apigee_v1_resource_files "/apigee:v1/GoogleCloudApigeeV1ResourceFiles/resourceFile": resource_file "/apigee:v1/GoogleCloudApigeeV1ResourceFiles/resourceFile/resource_file": resource_file +"/apigee:v1/GoogleCloudApigeeV1ResourceStatus": google_cloud_apigee_v1_resource_status +"/apigee:v1/GoogleCloudApigeeV1ResourceStatus/resource": resource +"/apigee:v1/GoogleCloudApigeeV1ResourceStatus/revisions": revisions +"/apigee:v1/GoogleCloudApigeeV1ResourceStatus/revisions/revision": revision +"/apigee:v1/GoogleCloudApigeeV1ResourceStatus/totalReplicas": total_replicas +"/apigee:v1/GoogleCloudApigeeV1ResourceStatus/uid": uid "/apigee:v1/GoogleCloudApigeeV1Result": google_cloud_apigee_v1_result "/apigee:v1/GoogleCloudApigeeV1Result/ActionResult": action_result "/apigee:v1/GoogleCloudApigeeV1Result/accessList": access_list @@ -9904,6 +10016,15 @@ "/apigee:v1/GoogleCloudApigeeV1Result/timestamp": timestamp "/apigee:v1/GoogleCloudApigeeV1Result/uRI": u_ri "/apigee:v1/GoogleCloudApigeeV1Result/verb": verb +"/apigee:v1/GoogleCloudApigeeV1RevisionStatus": google_cloud_apigee_v1_revision_status +"/apigee:v1/GoogleCloudApigeeV1RevisionStatus/errors": errors +"/apigee:v1/GoogleCloudApigeeV1RevisionStatus/errors/error": error +"/apigee:v1/GoogleCloudApigeeV1RevisionStatus/jsonSpec": json_spec +"/apigee:v1/GoogleCloudApigeeV1RevisionStatus/replicas": replicas +"/apigee:v1/GoogleCloudApigeeV1RevisionStatus/revisionId": revision_id +"/apigee:v1/GoogleCloudApigeeV1RoutingRule": google_cloud_apigee_v1_routing_rule +"/apigee:v1/GoogleCloudApigeeV1RoutingRule/basepath": basepath +"/apigee:v1/GoogleCloudApigeeV1RoutingRule/environment": environment "/apigee:v1/GoogleCloudApigeeV1Schema": google_cloud_apigee_v1_schema "/apigee:v1/GoogleCloudApigeeV1Schema/dimensions": dimensions "/apigee:v1/GoogleCloudApigeeV1Schema/dimensions/dimension": dimension @@ -10005,6 +10126,11 @@ "/apigee:v1/GoogleCloudApigeeV1TlsInfoConfig/protocols": protocols "/apigee:v1/GoogleCloudApigeeV1TlsInfoConfig/protocols/protocol": protocol "/apigee:v1/GoogleCloudApigeeV1TlsInfoConfig/trustStore": trust_store +"/apigee:v1/GoogleCloudApigeeV1UpdateError": google_cloud_apigee_v1_update_error +"/apigee:v1/GoogleCloudApigeeV1UpdateError/code": code +"/apigee:v1/GoogleCloudApigeeV1UpdateError/message": message +"/apigee:v1/GoogleCloudApigeeV1UpdateError/resource": resource +"/apigee:v1/GoogleCloudApigeeV1UpdateError/type": type "/apigee:v1/GoogleIamV1AuditConfig": google_iam_v1_audit_config "/apigee:v1/GoogleIamV1AuditConfig/auditLogConfigs": audit_log_configs "/apigee:v1/GoogleIamV1AuditConfig/auditLogConfigs/audit_log_config": audit_log_config @@ -10047,6 +10173,13 @@ "/apigee:v1/GoogleLongrunningOperation/response": response "/apigee:v1/GoogleLongrunningOperation/response/response": response "/apigee:v1/GoogleProtobufEmpty": google_protobuf_empty +"/apigee:v1/GoogleRpcPreconditionFailure": google_rpc_precondition_failure +"/apigee:v1/GoogleRpcPreconditionFailure/violations": violations +"/apigee:v1/GoogleRpcPreconditionFailure/violations/violation": violation +"/apigee:v1/GoogleRpcPreconditionFailureViolation": google_rpc_precondition_failure_violation +"/apigee:v1/GoogleRpcPreconditionFailureViolation/description": description +"/apigee:v1/GoogleRpcPreconditionFailureViolation/subject": subject +"/apigee:v1/GoogleRpcPreconditionFailureViolation/type": type "/apigee:v1/GoogleRpcStatus": google_rpc_status "/apigee:v1/GoogleRpcStatus/code": code "/apigee:v1/GoogleRpcStatus/details": details @@ -10208,6 +10341,30 @@ "/apigee:v1/apigee.organizations.developers.setDeveloperStatus/name": name "/apigee:v1/apigee.organizations.developers.update": update_organization_developer "/apigee:v1/apigee.organizations.developers.update/name": name +"/apigee:v1/apigee.organizations.envgroups.attachments.create": create_organization_envgroup_attachment +"/apigee:v1/apigee.organizations.envgroups.attachments.create/parent": parent +"/apigee:v1/apigee.organizations.envgroups.attachments.delete": delete_organization_envgroup_attachment +"/apigee:v1/apigee.organizations.envgroups.attachments.delete/name": name +"/apigee:v1/apigee.organizations.envgroups.attachments.get": get_organization_envgroup_attachment +"/apigee:v1/apigee.organizations.envgroups.attachments.get/name": name +"/apigee:v1/apigee.organizations.envgroups.attachments.list": list_organization_envgroup_attachments +"/apigee:v1/apigee.organizations.envgroups.attachments.list/pageSize": page_size +"/apigee:v1/apigee.organizations.envgroups.attachments.list/pageToken": page_token +"/apigee:v1/apigee.organizations.envgroups.attachments.list/parent": parent +"/apigee:v1/apigee.organizations.envgroups.create": create_organization_envgroup +"/apigee:v1/apigee.organizations.envgroups.create/name": name +"/apigee:v1/apigee.organizations.envgroups.create/parent": parent +"/apigee:v1/apigee.organizations.envgroups.delete": delete_organization_envgroup +"/apigee:v1/apigee.organizations.envgroups.delete/name": name +"/apigee:v1/apigee.organizations.envgroups.get": get_organization_envgroup +"/apigee:v1/apigee.organizations.envgroups.get/name": name +"/apigee:v1/apigee.organizations.envgroups.list": list_organization_envgroups +"/apigee:v1/apigee.organizations.envgroups.list/pageSize": page_size +"/apigee:v1/apigee.organizations.envgroups.list/pageToken": page_token +"/apigee:v1/apigee.organizations.envgroups.list/parent": parent +"/apigee:v1/apigee.organizations.envgroups.patch": patch_organization_envgroup +"/apigee:v1/apigee.organizations.envgroups.patch/name": name +"/apigee:v1/apigee.organizations.envgroups.patch/updateMask": update_mask "/apigee:v1/apigee.organizations.environments.analytics.admin.getSchemav2": get_organization_environment_analytic_admin_schemav2 "/apigee:v1/apigee.organizations.environments.analytics.admin.getSchemav2/name": name "/apigee:v1/apigee.organizations.environments.analytics.admin.getSchemav2/type": type @@ -10227,6 +10384,12 @@ "/apigee:v1/apigee.organizations.environments.apis.revisions.debugsessions.list/pageToken": page_token "/apigee:v1/apigee.organizations.environments.apis.revisions.debugsessions.list/parent": parent "/apigee:v1/apigee.organizations.environments.apis.revisions.deployments": deployments_organization_environment_api_revision +"/apigee:v1/apigee.organizations.environments.apis.revisions.deployments.generateDeployChangeReport": generate_organization_environment_api_revision_deployment_deploy_change_report +"/apigee:v1/apigee.organizations.environments.apis.revisions.deployments.generateDeployChangeReport/basepath": basepath +"/apigee:v1/apigee.organizations.environments.apis.revisions.deployments.generateDeployChangeReport/name": name +"/apigee:v1/apigee.organizations.environments.apis.revisions.deployments.generateDeployChangeReport/override": override +"/apigee:v1/apigee.organizations.environments.apis.revisions.deployments.generateUndeployChangeReport": generate_organization_environment_api_revision_deployment_undeploy_change_report +"/apigee:v1/apigee.organizations.environments.apis.revisions.deployments.generateUndeployChangeReport/name": name "/apigee:v1/apigee.organizations.environments.apis.revisions.deployments/name": name "/apigee:v1/apigee.organizations.environments.apis.revisions.getDeployments": get_organization_environment_api_revision_deployments "/apigee:v1/apigee.organizations.environments.apis.revisions.getDeployments/name": name @@ -10396,8 +10559,32 @@ "/apigee:v1/apigee.organizations.environments.updateEnvironment/name": name "/apigee:v1/apigee.organizations.get": get_organization "/apigee:v1/apigee.organizations.get/name": name +"/apigee:v1/apigee.organizations.getDeployedIngressConfig": get_organization_deployed_ingress_config +"/apigee:v1/apigee.organizations.getDeployedIngressConfig/name": name "/apigee:v1/apigee.organizations.getSyncAuthorization": get_organization_sync_authorization "/apigee:v1/apigee.organizations.getSyncAuthorization/name": name +"/apigee:v1/apigee.organizations.instances.attachments.create": create_organization_instance_attachment +"/apigee:v1/apigee.organizations.instances.attachments.create/parent": parent +"/apigee:v1/apigee.organizations.instances.attachments.delete": delete_organization_instance_attachment +"/apigee:v1/apigee.organizations.instances.attachments.delete/name": name +"/apigee:v1/apigee.organizations.instances.attachments.get": get_organization_instance_attachment +"/apigee:v1/apigee.organizations.instances.attachments.get/name": name +"/apigee:v1/apigee.organizations.instances.attachments.list": list_organization_instance_attachments +"/apigee:v1/apigee.organizations.instances.attachments.list/pageSize": page_size +"/apigee:v1/apigee.organizations.instances.attachments.list/pageToken": page_token +"/apigee:v1/apigee.organizations.instances.attachments.list/parent": parent +"/apigee:v1/apigee.organizations.instances.create": create_organization_instance +"/apigee:v1/apigee.organizations.instances.create/parent": parent +"/apigee:v1/apigee.organizations.instances.delete": delete_organization_instance +"/apigee:v1/apigee.organizations.instances.delete/name": name +"/apigee:v1/apigee.organizations.instances.get": get_organization_instance +"/apigee:v1/apigee.organizations.instances.get/name": name +"/apigee:v1/apigee.organizations.instances.list": list_organization_instances +"/apigee:v1/apigee.organizations.instances.list/pageSize": page_size +"/apigee:v1/apigee.organizations.instances.list/pageToken": page_token +"/apigee:v1/apigee.organizations.instances.list/parent": parent +"/apigee:v1/apigee.organizations.instances.reportStatus": report_organization_instance_status +"/apigee:v1/apigee.organizations.instances.reportStatus/instance": instance "/apigee:v1/apigee.organizations.keyvaluemaps.create": create_organization_keyvaluemap "/apigee:v1/apigee.organizations.keyvaluemaps.create/parent": parent "/apigee:v1/apigee.organizations.keyvaluemaps.delete": delete_organization_keyvaluemap @@ -113025,10 +113212,39 @@ "/recommender:v1/GoogleCloudRecommenderV1Impact": google_cloud_recommender_v1_impact "/recommender:v1/GoogleCloudRecommenderV1Impact/category": category "/recommender:v1/GoogleCloudRecommenderV1Impact/costProjection": cost_projection +"/recommender:v1/GoogleCloudRecommenderV1Insight": google_cloud_recommender_v1_insight +"/recommender:v1/GoogleCloudRecommenderV1Insight/associatedRecommendations": associated_recommendations +"/recommender:v1/GoogleCloudRecommenderV1Insight/associatedRecommendations/associated_recommendation": associated_recommendation +"/recommender:v1/GoogleCloudRecommenderV1Insight/category": category +"/recommender:v1/GoogleCloudRecommenderV1Insight/content": content +"/recommender:v1/GoogleCloudRecommenderV1Insight/content/content": content +"/recommender:v1/GoogleCloudRecommenderV1Insight/description": description +"/recommender:v1/GoogleCloudRecommenderV1Insight/etag": etag +"/recommender:v1/GoogleCloudRecommenderV1Insight/insightSubtype": insight_subtype +"/recommender:v1/GoogleCloudRecommenderV1Insight/lastRefreshTime": last_refresh_time +"/recommender:v1/GoogleCloudRecommenderV1Insight/name": name +"/recommender:v1/GoogleCloudRecommenderV1Insight/observationPeriod": observation_period +"/recommender:v1/GoogleCloudRecommenderV1Insight/stateInfo": state_info +"/recommender:v1/GoogleCloudRecommenderV1Insight/targetResources": target_resources +"/recommender:v1/GoogleCloudRecommenderV1Insight/targetResources/target_resource": target_resource +"/recommender:v1/GoogleCloudRecommenderV1InsightRecommendationReference": google_cloud_recommender_v1_insight_recommendation_reference +"/recommender:v1/GoogleCloudRecommenderV1InsightRecommendationReference/recommendation": recommendation +"/recommender:v1/GoogleCloudRecommenderV1InsightStateInfo": google_cloud_recommender_v1_insight_state_info +"/recommender:v1/GoogleCloudRecommenderV1InsightStateInfo/state": state +"/recommender:v1/GoogleCloudRecommenderV1InsightStateInfo/stateMetadata": state_metadata +"/recommender:v1/GoogleCloudRecommenderV1InsightStateInfo/stateMetadata/state_metadatum": state_metadatum +"/recommender:v1/GoogleCloudRecommenderV1ListInsightsResponse": google_cloud_recommender_v1_list_insights_response +"/recommender:v1/GoogleCloudRecommenderV1ListInsightsResponse/insights": insights +"/recommender:v1/GoogleCloudRecommenderV1ListInsightsResponse/insights/insight": insight +"/recommender:v1/GoogleCloudRecommenderV1ListInsightsResponse/nextPageToken": next_page_token "/recommender:v1/GoogleCloudRecommenderV1ListRecommendationsResponse": google_cloud_recommender_v1_list_recommendations_response "/recommender:v1/GoogleCloudRecommenderV1ListRecommendationsResponse/nextPageToken": next_page_token "/recommender:v1/GoogleCloudRecommenderV1ListRecommendationsResponse/recommendations": recommendations "/recommender:v1/GoogleCloudRecommenderV1ListRecommendationsResponse/recommendations/recommendation": recommendation +"/recommender:v1/GoogleCloudRecommenderV1MarkInsightAcceptedRequest": google_cloud_recommender_v1_mark_insight_accepted_request +"/recommender:v1/GoogleCloudRecommenderV1MarkInsightAcceptedRequest/etag": etag +"/recommender:v1/GoogleCloudRecommenderV1MarkInsightAcceptedRequest/stateMetadata": state_metadata +"/recommender:v1/GoogleCloudRecommenderV1MarkInsightAcceptedRequest/stateMetadata/state_metadatum": state_metadatum "/recommender:v1/GoogleCloudRecommenderV1MarkRecommendationClaimedRequest": google_cloud_recommender_v1_mark_recommendation_claimed_request "/recommender:v1/GoogleCloudRecommenderV1MarkRecommendationClaimedRequest/etag": etag "/recommender:v1/GoogleCloudRecommenderV1MarkRecommendationClaimedRequest/stateMetadata": state_metadata @@ -113060,6 +113276,8 @@ "/recommender:v1/GoogleCloudRecommenderV1Recommendation": google_cloud_recommender_v1_recommendation "/recommender:v1/GoogleCloudRecommenderV1Recommendation/additionalImpact": additional_impact "/recommender:v1/GoogleCloudRecommenderV1Recommendation/additionalImpact/additional_impact": additional_impact +"/recommender:v1/GoogleCloudRecommenderV1Recommendation/associatedInsights": associated_insights +"/recommender:v1/GoogleCloudRecommenderV1Recommendation/associatedInsights/associated_insight": associated_insight "/recommender:v1/GoogleCloudRecommenderV1Recommendation/content": content "/recommender:v1/GoogleCloudRecommenderV1Recommendation/description": description "/recommender:v1/GoogleCloudRecommenderV1Recommendation/etag": etag @@ -113071,6 +113289,8 @@ "/recommender:v1/GoogleCloudRecommenderV1RecommendationContent": google_cloud_recommender_v1_recommendation_content "/recommender:v1/GoogleCloudRecommenderV1RecommendationContent/operationGroups": operation_groups "/recommender:v1/GoogleCloudRecommenderV1RecommendationContent/operationGroups/operation_group": operation_group +"/recommender:v1/GoogleCloudRecommenderV1RecommendationInsightReference": google_cloud_recommender_v1_recommendation_insight_reference +"/recommender:v1/GoogleCloudRecommenderV1RecommendationInsightReference/insight": insight "/recommender:v1/GoogleCloudRecommenderV1RecommendationStateInfo": google_cloud_recommender_v1_recommendation_state_info "/recommender:v1/GoogleCloudRecommenderV1RecommendationStateInfo/state": state "/recommender:v1/GoogleCloudRecommenderV1RecommendationStateInfo/stateMetadata": state_metadata @@ -113084,6 +113304,15 @@ "/recommender:v1/fields": fields "/recommender:v1/key": key "/recommender:v1/quotaUser": quota_user +"/recommender:v1/recommender.projects.locations.insightTypes.insights.get": get_project_location_insight_type_insight +"/recommender:v1/recommender.projects.locations.insightTypes.insights.get/name": name +"/recommender:v1/recommender.projects.locations.insightTypes.insights.list": list_project_location_insight_type_insights +"/recommender:v1/recommender.projects.locations.insightTypes.insights.list/filter": filter +"/recommender:v1/recommender.projects.locations.insightTypes.insights.list/pageSize": page_size +"/recommender:v1/recommender.projects.locations.insightTypes.insights.list/pageToken": page_token +"/recommender:v1/recommender.projects.locations.insightTypes.insights.list/parent": parent +"/recommender:v1/recommender.projects.locations.insightTypes.insights.markAccepted": mark_project_location_insight_type_insight_accepted +"/recommender:v1/recommender.projects.locations.insightTypes.insights.markAccepted/name": name "/recommender:v1/recommender.projects.locations.recommenders.recommendations.get": get_project_location_recommender_recommendation "/recommender:v1/recommender.projects.locations.recommenders.recommendations.get/name": name "/recommender:v1/recommender.projects.locations.recommenders.recommendations.list": list_project_location_recommender_recommendations @@ -132231,6 +132460,7 @@ "/testing:v1/TestSetup/additionalApks/additional_apk": additional_apk "/testing:v1/TestSetup/directoriesToPull": directories_to_pull "/testing:v1/TestSetup/directoriesToPull/directories_to_pull": directories_to_pull +"/testing:v1/TestSetup/dontAutograntPermissions": dont_autogrant_permissions "/testing:v1/TestSetup/environmentVariables": environment_variables "/testing:v1/TestSetup/environmentVariables/environment_variable": environment_variable "/testing:v1/TestSetup/filesToPush": files_to_push diff --git a/generated/google/apis/androidenterprise_v1.rb b/generated/google/apis/androidenterprise_v1.rb index 5809c79c8..3fd8ba9fd 100644 --- a/generated/google/apis/androidenterprise_v1.rb +++ b/generated/google/apis/androidenterprise_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/android/work/play/emm-api module AndroidenterpriseV1 VERSION = 'V1' - REVISION = '20200606' + REVISION = '20200704' # Manage corporate Android devices AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise' diff --git a/generated/google/apis/apigee_v1.rb b/generated/google/apis/apigee_v1.rb index d9283e59a..1131d248c 100644 --- a/generated/google/apis/apigee_v1.rb +++ b/generated/google/apis/apigee_v1.rb @@ -31,7 +31,7 @@ module Google # @see https://cloud.google.com/apigee-api-management/ module ApigeeV1 VERSION = 'V1' - REVISION = '20200618' + REVISION = '20200706' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/apigee_v1/classes.rb b/generated/google/apis/apigee_v1/classes.rb index 91206cf3b..365f04462 100644 --- a/generated/google/apis/apigee_v1/classes.rb +++ b/generated/google/apis/apigee_v1/classes.rb @@ -1568,7 +1568,20 @@ module Google # @return [String] attr_accessor :environment - # Status reported by runtime pods. + # Errors reported for this deployment. Populated only when state == ERROR. + # This field is not populated in List APIs. + # Corresponds to the JSON property `errors` + # @return [Array] + attr_accessor :errors + + # Status reported by each runtime instance. + # This field is not populated in List APIs. + # Corresponds to the JSON property `instances` + # @return [Array] + attr_accessor :instances + + # Status reported by runtime pods. This field is not populated for List + # APIs. # Corresponds to the JSON property `pods` # @return [Array] attr_accessor :pods @@ -1578,6 +1591,22 @@ module Google # @return [String] attr_accessor :revision + # Conflicts in the desired state routing configuration. The presence of + # conflicts does not cause the state to be ERROR, but it will mean that + # some of the deployments basepaths are not routed to its environment. If + # the conflicts change, the state will transition to PROGRESSING until the + # latest configuration is rolled out to all instances. + # This field is not populated in List APIs. + # Corresponds to the JSON property `routeConflicts` + # @return [Array] + attr_accessor :route_conflicts + + # Current state of the deployment. + # This field is not populated in List APIs. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + def initialize(**args) update!(**args) end @@ -1588,8 +1617,177 @@ module Google @base_path = args[:base_path] if args.key?(:base_path) @deploy_start_time = args[:deploy_start_time] if args.key?(:deploy_start_time) @environment = args[:environment] if args.key?(:environment) + @errors = args[:errors] if args.key?(:errors) + @instances = args[:instances] if args.key?(:instances) @pods = args[:pods] if args.key?(:pods) @revision = args[:revision] if args.key?(:revision) + @route_conflicts = args[:route_conflicts] if args.key?(:route_conflicts) + @state = args[:state] if args.key?(:state) + end + end + + # Response for + # GenerateDeployChangeReport + # and + # GenerateUndeployChangeReport. + # This report contains any validation failures that would cause the deployment + # to be rejected, as well changes and conflicts in routing that may occur due + # to the new deployment. + # The existence of a routing warning does not necessarily imply that the + # deployment request is bad, if the desired state of the deployment request is + # to effect a routing change. The primary purposes of the routing messages are: + # 1) To inform users of routing changes that may have an effect on traffic + # currently being routed to other existing deployments. + # 2) To warn users if some basepath in the proxy will not receive traffic due + # to an existing deployment having already claimed that basepath. + # The presence of routing conflicts/changes will not cause non-dry-run + # DeployApiProxy/UndeployApiProxy requests to be rejected. + class GoogleCloudApigeeV1DeploymentChangeReport + include Google::Apis::Core::Hashable + + # All routing changes that may result from a deployment request. + # Corresponds to the JSON property `routingChanges` + # @return [Array] + attr_accessor :routing_changes + + # All basepath conflicts detected for a deployment request. + # Corresponds to the JSON property `routingConflicts` + # @return [Array] + attr_accessor :routing_conflicts + + # Describes what preconditions have failed. + # For example, if an RPC failed because it required the Terms of Service to be + # acknowledged, it could list the terms of service violation in the + # PreconditionFailure message. + # Corresponds to the JSON property `validationErrors` + # @return [Google::Apis::ApigeeV1::GoogleRpcPreconditionFailure] + attr_accessor :validation_errors + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @routing_changes = args[:routing_changes] if args.key?(:routing_changes) + @routing_conflicts = args[:routing_conflicts] if args.key?(:routing_conflicts) + @validation_errors = args[:validation_errors] if args.key?(:validation_errors) + end + end + + # Describes a potential routing change that may occur as a result + # of some deployment operation. + class GoogleCloudApigeeV1DeploymentChangeReportRoutingChange + include Google::Apis::Core::Hashable + + # A human-readable description of this routing change. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # The name of the environment group affected by this routing change. + # Corresponds to the JSON property `environmentGroup` + # @return [String] + attr_accessor :environment_group + + # A tuple representing a basepath and the deployment containing it. + # Corresponds to the JSON property `fromDeployment` + # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment] + attr_accessor :from_deployment + + # True if using sequenced rollout would make this routing change safer. + # Note: this does not necessarily imply that automated sequenced rollout + # mode is supported for the operation. + # Corresponds to the JSON property `shouldSequenceRollout` + # @return [Boolean] + attr_accessor :should_sequence_rollout + alias_method :should_sequence_rollout?, :should_sequence_rollout + + # A tuple representing a basepath and the deployment containing it. + # Corresponds to the JSON property `toDeployment` + # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment] + attr_accessor :to_deployment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @description = args[:description] if args.key?(:description) + @environment_group = args[:environment_group] if args.key?(:environment_group) + @from_deployment = args[:from_deployment] if args.key?(:from_deployment) + @should_sequence_rollout = args[:should_sequence_rollout] if args.key?(:should_sequence_rollout) + @to_deployment = args[:to_deployment] if args.key?(:to_deployment) + end + end + + # Describes a routing conflict that may cause a deployment not to receive + # traffic at some basepath. + class GoogleCloudApigeeV1DeploymentChangeReportRoutingConflict + include Google::Apis::Core::Hashable + + # A tuple representing a basepath and the deployment containing it. + # Corresponds to the JSON property `conflictingDeployment` + # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment] + attr_accessor :conflicting_deployment + + # A human-readable description of this conflict. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # The name of the environment group in which this conflict exists. + # Corresponds to the JSON property `environmentGroup` + # @return [String] + attr_accessor :environment_group + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @conflicting_deployment = args[:conflicting_deployment] if args.key?(:conflicting_deployment) + @description = args[:description] if args.key?(:description) + @environment_group = args[:environment_group] if args.key?(:environment_group) + end + end + + # A tuple representing a basepath and the deployment containing it. + class GoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment + include Google::Apis::Core::Hashable + + # The name of the deployed proxy revision containing the basepath. + # Corresponds to the JSON property `apiProxy` + # @return [String] + attr_accessor :api_proxy + + # The basepath receiving traffic. + # Corresponds to the JSON property `basepath` + # @return [String] + attr_accessor :basepath + + # The name of the environment in which the proxy is deployed. + # Corresponds to the JSON property `environment` + # @return [String] + attr_accessor :environment + + # The name of the deployed proxy revision containing the basepath. + # Corresponds to the JSON property `revision` + # @return [String] + attr_accessor :revision + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @api_proxy = args[:api_proxy] if args.key?(:api_proxy) + @basepath = args[:basepath] if args.key?(:basepath) + @environment = args[:environment] if args.key?(:environment) + @revision = args[:revision] if args.key?(:revision) end end @@ -2139,6 +2337,130 @@ module Google end end + # EnvironmentGroup configuration. An environment group is used to group one or + # more Apigee environments under a single host name. + class GoogleCloudApigeeV1EnvironmentGroup + include Google::Apis::Core::Hashable + + # Output only. The time at which the environment group was created as + # milliseconds since + # epoch. + # Corresponds to the JSON property `createdAt` + # @return [Fixnum] + attr_accessor :created_at + + # Required. Host names for this environment group. + # Corresponds to the JSON property `hostnames` + # @return [Array] + attr_accessor :hostnames + + # Output only. The time at which the environment group was last updated as + # milliseconds + # since epoch. + # Corresponds to the JSON property `lastModifiedAt` + # @return [Fixnum] + attr_accessor :last_modified_at + + # ID of the environment group. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @created_at = args[:created_at] if args.key?(:created_at) + @hostnames = args[:hostnames] if args.key?(:hostnames) + @last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at) + @name = args[:name] if args.key?(:name) + end + end + + # EnvironmentGroupAttachment is a resource which defines an attachment of an + # environment to an environment group. + class GoogleCloudApigeeV1EnvironmentGroupAttachment + include Google::Apis::Core::Hashable + + # Output only. The time at which the environment group attachment was created as + # milliseconds since epoch. + # Corresponds to the JSON property `createdAt` + # @return [Fixnum] + attr_accessor :created_at + + # Required. ID of the attached environment. + # Corresponds to the JSON property `environment` + # @return [String] + attr_accessor :environment + + # ID of the environment group attachment. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @created_at = args[:created_at] if args.key?(:created_at) + @environment = args[:environment] if args.key?(:environment) + @name = args[:name] if args.key?(:name) + end + end + + # EnvironmentGroupConfig is a revisioned snapshot of an EnvironmentGroup and + # its associated routing rules. + class GoogleCloudApigeeV1EnvironmentGroupConfig + include Google::Apis::Core::Hashable + + # Host names for the environment group. + # Corresponds to the JSON property `hostnames` + # @return [Array] + attr_accessor :hostnames + + # Name of the environment group in the following format: + # `organizations/`org`/envgroups/`envgroup``. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Revision id that defines the ordering of the EnvironmentGroupConfig + # resource. The higher the revision, the more recently the + # configuration was deployed. + # Corresponds to the JSON property `revisionId` + # @return [Fixnum] + attr_accessor :revision_id + + # Ordered list of routing rules defining how traffic to this environment + # group's hostnames should be routed to different environments. + # Corresponds to the JSON property `routingRules` + # @return [Array] + attr_accessor :routing_rules + + # A unique id for the environment group config that will only change if + # the environment group is deleted and recreated. + # Corresponds to the JSON property `uid` + # @return [String] + attr_accessor :uid + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @hostnames = args[:hostnames] if args.key?(:hostnames) + @name = args[:name] if args.key?(:name) + @revision_id = args[:revision_id] if args.key?(:revision_id) + @routing_rules = args[:routing_rules] if args.key?(:routing_rules) + @uid = args[:uid] if args.key?(:uid) + end + end + # class GoogleCloudApigeeV1FlowHook include Google::Apis::Core::Hashable @@ -2235,6 +2557,257 @@ module Google end end + # + class GoogleCloudApigeeV1IngressConfig + include Google::Apis::Core::Hashable + + # Time at which the IngressConfig was created. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # List of environment groups in the organization. + # Corresponds to the JSON property `environmentGroups` + # @return [Array] + attr_accessor :environment_groups + + # Name of the resource in the following format: + # `organizations/`org`/deployedIngressConfig`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Revision id that defines the ordering on IngressConfig resources. + # The higher the revision, the more recently the configuration + # was deployed. + # Corresponds to the JSON property `revisionId` + # @return [Fixnum] + attr_accessor :revision_id + + # DEPRECATED: Use revision_id + # Corresponds to the JSON property `sequenceNumber` + # @return [Fixnum] + attr_accessor :sequence_number + + # A unique id for the ingress config that will only change if the + # organization is deleted and recreated. + # Corresponds to the JSON property `uid` + # @return [String] + attr_accessor :uid + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @create_time = args[:create_time] if args.key?(:create_time) + @environment_groups = args[:environment_groups] if args.key?(:environment_groups) + @name = args[:name] if args.key?(:name) + @revision_id = args[:revision_id] if args.key?(:revision_id) + @sequence_number = args[:sequence_number] if args.key?(:sequence_number) + @uid = args[:uid] if args.key?(:uid) + end + end + + # Apigee runtime instance. + class GoogleCloudApigeeV1Instance + include Google::Apis::Core::Hashable + + # Output only. Time the instance was created in milliseconds since epoch. + # Corresponds to the JSON property `createdAt` + # @return [Fixnum] + attr_accessor :created_at + + # Optional. Description of the instance. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Optional. Customer Managed Encryption Key (CMEK) used for disk & volume + # encryption. + # Corresponds to the JSON property `diskEncryptionKeyName` + # @return [String] + attr_accessor :disk_encryption_key_name + + # Optional. Display name for the instance. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # Output only. Hostname or IP address of the exposed Apigee endpoint used by + # clients to + # connect to the service. + # Corresponds to the JSON property `host` + # @return [String] + attr_accessor :host + + # Output only. Time the instance was last modified in milliseconds since epoch. + # Corresponds to the JSON property `lastModifiedAt` + # @return [Fixnum] + attr_accessor :last_modified_at + + # Required. Resource ID of the instance. Values must match the + # regular expression `^a-z`0,30`[a-z\d]$`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Output only. Port number of the exposed Apigee endpoint. + # Corresponds to the JSON property `port` + # @return [String] + attr_accessor :port + + # Required. Region where the instance resides. + # Corresponds to the JSON property `region` + # @return [String] + attr_accessor :region + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @created_at = args[:created_at] if args.key?(:created_at) + @description = args[:description] if args.key?(:description) + @disk_encryption_key_name = args[:disk_encryption_key_name] if args.key?(:disk_encryption_key_name) + @display_name = args[:display_name] if args.key?(:display_name) + @host = args[:host] if args.key?(:host) + @last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at) + @name = args[:name] if args.key?(:name) + @port = args[:port] if args.key?(:port) + @region = args[:region] if args.key?(:region) + end + end + + # InstanceAttachment represents the installation of an environment onto an + # instance. + class GoogleCloudApigeeV1InstanceAttachment + include Google::Apis::Core::Hashable + + # Output only. Time the attachment was created in milliseconds since epoch. + # Corresponds to the JSON property `createdAt` + # @return [Fixnum] + attr_accessor :created_at + + # ID of the attached environment. + # Corresponds to the JSON property `environment` + # @return [String] + attr_accessor :environment + + # Output only. ID of the attachment. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @created_at = args[:created_at] if args.key?(:created_at) + @environment = args[:environment] if args.key?(:environment) + @name = args[:name] if args.key?(:name) + end + end + + # The status of a deployment as reported by a single instance. + class GoogleCloudApigeeV1InstanceDeploymentStatus + include Google::Apis::Core::Hashable + + # Revisions currently deployed in MPs. + # Corresponds to the JSON property `deployedRevisions` + # @return [Array] + attr_accessor :deployed_revisions + + # The current routes deployed in the ingress routing table. A route which is + # missing will be shown with no destination environment. + # Corresponds to the JSON property `deployedRoutes` + # @return [Array] + attr_accessor :deployed_routes + + # ID of the instance reporting the status. + # Corresponds to the JSON property `instance` + # @return [String] + attr_accessor :instance + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @deployed_revisions = args[:deployed_revisions] if args.key?(:deployed_revisions) + @deployed_routes = args[:deployed_routes] if args.key?(:deployed_routes) + @instance = args[:instance] if args.key?(:instance) + end + end + + # Revisions deployed in the MPs. + class GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRevision + include Google::Apis::Core::Hashable + + # The percentage of MP replicas reporting this revision + # Corresponds to the JSON property `percentage` + # @return [Fixnum] + attr_accessor :percentage + + # The proxy revision reported as deployed. + # Corresponds to the JSON property `revision` + # @return [String] + attr_accessor :revision + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @percentage = args[:percentage] if args.key?(:percentage) + @revision = args[:revision] if args.key?(:revision) + end + end + + # A route deployed in the ingress routing table. + class GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRoute + include Google::Apis::Core::Hashable + + # The basepath in the routing table. + # Corresponds to the JSON property `basepath` + # @return [String] + attr_accessor :basepath + + # The envgroup where this route is installed. + # Corresponds to the JSON property `envgroup` + # @return [String] + attr_accessor :envgroup + + # The destination environment. This will be empty if the route is not yet + # reported. + # Corresponds to the JSON property `environment` + # @return [String] + attr_accessor :environment + + # The percentage of ingress replicas reporting this route. + # Corresponds to the JSON property `percentage` + # @return [Fixnum] + attr_accessor :percentage + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @basepath = args[:basepath] if args.key?(:basepath) + @envgroup = args[:envgroup] if args.key?(:envgroup) + @environment = args[:environment] if args.key?(:environment) + @percentage = args[:percentage] if args.key?(:percentage) + end + end + # class GoogleCloudApigeeV1KeyAliasReference include Google::Apis::Core::Hashable @@ -2500,6 +3073,60 @@ module Google end end + # Response for + # ListEnvironmentGroupAttachments. + class GoogleCloudApigeeV1ListEnvironmentGroupAttachmentsResponse + include Google::Apis::Core::Hashable + + # EnvironmentGroupAttachments for the specified environment group. + # Corresponds to the JSON property `environmentGroupAttachments` + # @return [Array] + attr_accessor :environment_group_attachments + + # Page token that you can include in a ListEnvironmentGroupAttachments + # request to retrieve the next page. If omitted, no subsequent pages exist. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @environment_group_attachments = args[:environment_group_attachments] if args.key?(:environment_group_attachments) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # Response for + # ListEnvironmentGroups. + class GoogleCloudApigeeV1ListEnvironmentGroupsResponse + include Google::Apis::Core::Hashable + + # EnvironmentGroups in the specified organization. + # Corresponds to the JSON property `environmentGroups` + # @return [Array] + attr_accessor :environment_groups + + # Page token that you can include in a ListEnvironmentGroups request to + # retrieve the next page. If omitted, no subsequent pages exist. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @environment_groups = args[:environment_groups] if args.key?(:environment_groups) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + # Response for # ListEnvironmentResources class GoogleCloudApigeeV1ListEnvironmentResourcesResponse @@ -2539,6 +3166,59 @@ module Google end end + # Response for + # ListInstanceAttachments. + class GoogleCloudApigeeV1ListInstanceAttachmentsResponse + include Google::Apis::Core::Hashable + + # Attachments for the instance. + # Corresponds to the JSON property `attachments` + # @return [Array] + attr_accessor :attachments + + # Page token that you can include in a ListInstanceAttachments request to + # retrieve the next page of content. If omitted, no subsequent pages exist. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @attachments = args[:attachments] if args.key?(:attachments) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # Response for ListInstances. + class GoogleCloudApigeeV1ListInstancesResponse + include Google::Apis::Core::Hashable + + # Instances in the specified organization. + # Corresponds to the JSON property `instances` + # @return [Array] + attr_accessor :instances + + # Page token that you can include in a ListInstance request to retrieve + # the next page of content. If omitted, no subsequent pages exist. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @instances = args[:instances] if args.key?(:instances) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + # class GoogleCloudApigeeV1ListOfDevelopersResponse include Google::Apis::Core::Hashable @@ -2859,6 +3539,26 @@ module Google # @return [Array] attr_accessor :attributes + # Compute Engine network used for ServiceNetworking to + # be peered with Apigee runtime instances. See + # [Getting started with the Service Networking + # API](https://cloud.google.com/service-infrastructure/docs/service-networking/ + # getting-started). + # Valid only when [RuntimeType] is set to CLOUD. The value can be updated + # only when there are no runtime instances. + # For example: "default". + # **Note:** Not supported for Apigee hybrid. + # Corresponds to the JSON property `authorizedNetwork` + # @return [String] + attr_accessor :authorized_network + + # Output only. Base64-encoded public certificate for the root CA of the Apigee + # organization. Valid only when [RuntimeType] is CLOUD. + # Corresponds to the JSON property `caCertificate` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :ca_certificate + # Output only. Time that the Apigee organization was created in milliseconds # since epoch. # Corresponds to the JSON property `createdAt` @@ -2937,6 +3637,8 @@ module Google def update!(**args) @analytics_region = args[:analytics_region] if args.key?(:analytics_region) @attributes = args[:attributes] if args.key?(:attributes) + @authorized_network = args[:authorized_network] if args.key?(:authorized_network) + @ca_certificate = args[:ca_certificate] if args.key?(:ca_certificate) @created_at = args[:created_at] if args.key?(:created_at) @customer_name = args[:customer_name] if args.key?(:customer_name) @description = args[:description] if args.key?(:description) @@ -3421,6 +4123,53 @@ module Google end end + # Request for ReportInstanceStatus. + class GoogleCloudApigeeV1ReportInstanceStatusRequest + include Google::Apis::Core::Hashable + + # A unique ID for the instance which is guaranteed to be unique in case the + # user installs multiple hybrid runtimes with the same instance ID. + # Corresponds to the JSON property `instanceUid` + # @return [String] + attr_accessor :instance_uid + + # The time the report was generated in the runtime. Used to prevent an old + # status from overwriting a newer one. An instance should space out it's + # status reports so that clock skew does not play a factor. + # Corresponds to the JSON property `reportTime` + # @return [String] + attr_accessor :report_time + + # Status for config resources + # Corresponds to the JSON property `resources` + # @return [Array] + attr_accessor :resources + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @instance_uid = args[:instance_uid] if args.key?(:instance_uid) + @report_time = args[:report_time] if args.key?(:report_time) + @resources = args[:resources] if args.key?(:resources) + end + end + + # Placeholder for future enhancements to status reporting protocol + class GoogleCloudApigeeV1ReportInstanceStatusResponse + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + # class GoogleCloudApigeeV1ReportProperty include Google::Apis::Core::Hashable @@ -3518,6 +4267,48 @@ module Google end end + # The status of a resource loaded in the runtime. + class GoogleCloudApigeeV1ResourceStatus + include Google::Apis::Core::Hashable + + # The resource name. Currently only two resources are supported: + # EnvironmentGroup - organizations/`org`/envgroups/`envgroup` + # EnvironmentConfig - + # organizations/`org`/environments/`environment`/deployedConfig + # Corresponds to the JSON property `resource` + # @return [String] + attr_accessor :resource + + # Revisions of the resource currently deployed in the instance. + # Corresponds to the JSON property `revisions` + # @return [Array] + attr_accessor :revisions + + # The total number of replicas that should have this resource. + # Corresponds to the JSON property `totalReplicas` + # @return [Fixnum] + attr_accessor :total_replicas + + # The uid of the resource. In the unexpected case that the instance has + # multiple uids for the same name, they should be reported under separate + # ResourceStatuses. + # Corresponds to the JSON property `uid` + # @return [String] + attr_accessor :uid + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @resource = args[:resource] if args.key?(:resource) + @revisions = args[:revisions] if args.key?(:revisions) + @total_replicas = args[:total_replicas] if args.key?(:total_replicas) + @uid = args[:uid] if args.key?(:uid) + end + end + # Result is short for "action result", could be different types identified by # "action_result" field. Supported types: # 1. DebugInfo : generic debug info collected by runtime recorded as a list of @@ -3620,6 +4411,71 @@ module Google end end + # The status of a specific resource revision. + class GoogleCloudApigeeV1RevisionStatus + include Google::Apis::Core::Hashable + + # Errors reported when attempting to load this revision. + # Corresponds to the JSON property `errors` + # @return [Array] + attr_accessor :errors + + # The json content of the resource revision. + # Corresponds to the JSON property `jsonSpec` + # @return [String] + attr_accessor :json_spec + + # The number of replicas that have successfully loaded this revision. + # Corresponds to the JSON property `replicas` + # @return [Fixnum] + attr_accessor :replicas + + # The revision of the resource. + # Corresponds to the JSON property `revisionId` + # @return [String] + attr_accessor :revision_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @errors = args[:errors] if args.key?(:errors) + @json_spec = args[:json_spec] if args.key?(:json_spec) + @replicas = args[:replicas] if args.key?(:replicas) + @revision_id = args[:revision_id] if args.key?(:revision_id) + end + end + + # + class GoogleCloudApigeeV1RoutingRule + include Google::Apis::Core::Hashable + + # URI path prefix used to route to the specified environment. May contain + # one or more wildcards. For example, path segments consisting of a single + # `*` character will match any string. + # Corresponds to the JSON property `basepath` + # @return [String] + attr_accessor :basepath + + # Name of an environment bound to the environment group in the following + # format: `organizations/`org`/environments/`env``. + # Corresponds to the JSON property `environment` + # @return [String] + attr_accessor :environment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @basepath = args[:basepath] if args.key?(:basepath) + @environment = args[:environment] if args.key?(:environment) + end + end + # Response for Schema call class GoogleCloudApigeeV1Schema include Google::Apis::Core::Hashable @@ -4353,6 +5209,45 @@ module Google end end + # Details on why a resource update failed in the runtime. + class GoogleCloudApigeeV1UpdateError + include Google::Apis::Core::Hashable + + # Status code. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # User-friendly error message. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + # The sub resource specific to this error (e.g. a proxy deployed within the + # EnvironmentConfig). If empty the error refers to the top level resource. + # Corresponds to the JSON property `resource` + # @return [String] + attr_accessor :resource + + # A string that uniquely identifies the type of error. This provides a + # more reliable means to deduplicate errors across revisions and instances. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @message = args[:message] if args.key?(:message) + @resource = args[:resource] if args.key?(:resource) + @type = args[:type] if args.key?(:type) + end + end + # Specifies the audit configuration for a service. # The configuration determines which permission types are logged, and what # identities, if any, are exempted from logging. @@ -4918,6 +5813,65 @@ module Google end end + # Describes what preconditions have failed. + # For example, if an RPC failed because it required the Terms of Service to be + # acknowledged, it could list the terms of service violation in the + # PreconditionFailure message. + class GoogleRpcPreconditionFailure + include Google::Apis::Core::Hashable + + # Describes all precondition violations. + # Corresponds to the JSON property `violations` + # @return [Array] + attr_accessor :violations + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @violations = args[:violations] if args.key?(:violations) + end + end + + # A message type used to describe a single precondition failure. + class GoogleRpcPreconditionFailureViolation + include Google::Apis::Core::Hashable + + # A description of how the precondition failed. Developers can use this + # description to understand how to fix the failure. + # For example: "Terms of service not accepted". + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # The subject, relative to the type, that failed. + # For example, "google.com/cloud" relative to the "TOS" type would indicate + # which terms of service is being referenced. + # Corresponds to the JSON property `subject` + # @return [String] + attr_accessor :subject + + # The type of PreconditionFailure. We recommend using a service-specific + # enum type to define the supported precondition violation subjects. For + # example, "TOS" for "Terms of Service violation". + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @description = args[:description] if args.key?(:description) + @subject = args[:subject] if args.key?(:subject) + @type = args[:type] if args.key?(:type) + end + end + # 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 diff --git a/generated/google/apis/apigee_v1/representations.rb b/generated/google/apis/apigee_v1/representations.rb index a3cf2f1f8..da29bdaa8 100644 --- a/generated/google/apis/apigee_v1/representations.rb +++ b/generated/google/apis/apigee_v1/representations.rb @@ -196,6 +196,30 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudApigeeV1DeploymentChangeReport + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudApigeeV1DeploymentChangeReportRoutingChange + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudApigeeV1DeploymentChangeReportRoutingConflict + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudApigeeV1DeploymentConfig class Representation < Google::Apis::Core::JsonRepresentation; end @@ -244,6 +268,24 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudApigeeV1EnvironmentGroup + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudApigeeV1EnvironmentGroupAttachment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudApigeeV1EnvironmentGroupConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudApigeeV1FlowHook class Representation < Google::Apis::Core::JsonRepresentation; end @@ -262,6 +304,42 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudApigeeV1IngressConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudApigeeV1Instance + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudApigeeV1InstanceAttachment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudApigeeV1InstanceDeploymentStatus + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRevision + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRoute + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudApigeeV1KeyAliasReference class Representation < Google::Apis::Core::JsonRepresentation; end @@ -334,6 +412,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudApigeeV1ListEnvironmentGroupAttachmentsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudApigeeV1ListEnvironmentGroupsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudApigeeV1ListEnvironmentResourcesResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -346,6 +436,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudApigeeV1ListInstanceAttachmentsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudApigeeV1ListInstancesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudApigeeV1ListOfDevelopersResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -466,6 +568,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudApigeeV1ReportInstanceStatusRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudApigeeV1ReportInstanceStatusResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudApigeeV1ReportProperty class Representation < Google::Apis::Core::JsonRepresentation; end @@ -490,12 +604,30 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudApigeeV1ResourceStatus + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudApigeeV1Result class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudApigeeV1RevisionStatus + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudApigeeV1RoutingRule + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudApigeeV1Schema class Representation < Google::Apis::Core::JsonRepresentation; end @@ -592,6 +724,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudApigeeV1UpdateError + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleIamV1AuditConfig class Representation < Google::Apis::Core::JsonRepresentation; end @@ -652,6 +790,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleRpcPreconditionFailure + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleRpcPreconditionFailureViolation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleRpcStatus class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1018,9 +1168,61 @@ module Google property :base_path, as: 'basePath' property :deploy_start_time, :numeric_string => true, as: 'deployStartTime' property :environment, as: 'environment' + collection :errors, as: 'errors', class: Google::Apis::ApigeeV1::GoogleRpcStatus, decorator: Google::Apis::ApigeeV1::GoogleRpcStatus::Representation + + collection :instances, as: 'instances', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1InstanceDeploymentStatus, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1InstanceDeploymentStatus::Representation + collection :pods, as: 'pods', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1PodStatus, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1PodStatus::Representation property :revision, as: 'revision' + collection :route_conflicts, as: 'routeConflicts', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReportRoutingConflict, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReportRoutingConflict::Representation + + property :state, as: 'state' + end + end + + class GoogleCloudApigeeV1DeploymentChangeReport + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :routing_changes, as: 'routingChanges', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReportRoutingChange, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReportRoutingChange::Representation + + collection :routing_conflicts, as: 'routingConflicts', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReportRoutingConflict, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReportRoutingConflict::Representation + + property :validation_errors, as: 'validationErrors', class: Google::Apis::ApigeeV1::GoogleRpcPreconditionFailure, decorator: Google::Apis::ApigeeV1::GoogleRpcPreconditionFailure::Representation + + end + end + + class GoogleCloudApigeeV1DeploymentChangeReportRoutingChange + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :description, as: 'description' + property :environment_group, as: 'environmentGroup' + property :from_deployment, as: 'fromDeployment', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment::Representation + + property :should_sequence_rollout, as: 'shouldSequenceRollout' + property :to_deployment, as: 'toDeployment', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment::Representation + + end + end + + class GoogleCloudApigeeV1DeploymentChangeReportRoutingConflict + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :conflicting_deployment, as: 'conflictingDeployment', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment::Representation + + property :description, as: 'description' + property :environment_group, as: 'environmentGroup' + end + end + + class GoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :api_proxy, as: 'apiProxy' + property :basepath, as: 'basepath' + property :environment, as: 'environment' + property :revision, as: 'revision' end end @@ -1154,6 +1356,37 @@ module Google end end + class GoogleCloudApigeeV1EnvironmentGroup + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :created_at, :numeric_string => true, as: 'createdAt' + collection :hostnames, as: 'hostnames' + property :last_modified_at, :numeric_string => true, as: 'lastModifiedAt' + property :name, as: 'name' + end + end + + class GoogleCloudApigeeV1EnvironmentGroupAttachment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :created_at, :numeric_string => true, as: 'createdAt' + property :environment, as: 'environment' + property :name, as: 'name' + end + end + + class GoogleCloudApigeeV1EnvironmentGroupConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :hostnames, as: 'hostnames' + property :name, as: 'name' + property :revision_id, :numeric_string => true, as: 'revisionId' + collection :routing_rules, as: 'routingRules', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1RoutingRule, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1RoutingRule::Representation + + property :uid, as: 'uid' + end + end + class GoogleCloudApigeeV1FlowHook # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1179,6 +1412,72 @@ module Google end end + class GoogleCloudApigeeV1IngressConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_time, as: 'createTime' + collection :environment_groups, as: 'environmentGroups', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroupConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroupConfig::Representation + + property :name, as: 'name' + property :revision_id, :numeric_string => true, as: 'revisionId' + property :sequence_number, :numeric_string => true, as: 'sequenceNumber' + property :uid, as: 'uid' + end + end + + class GoogleCloudApigeeV1Instance + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :created_at, :numeric_string => true, as: 'createdAt' + property :description, as: 'description' + property :disk_encryption_key_name, as: 'diskEncryptionKeyName' + property :display_name, as: 'displayName' + property :host, as: 'host' + property :last_modified_at, :numeric_string => true, as: 'lastModifiedAt' + property :name, as: 'name' + property :port, as: 'port' + property :region, as: 'region' + end + end + + class GoogleCloudApigeeV1InstanceAttachment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :created_at, :numeric_string => true, as: 'createdAt' + property :environment, as: 'environment' + property :name, as: 'name' + end + end + + class GoogleCloudApigeeV1InstanceDeploymentStatus + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :deployed_revisions, as: 'deployedRevisions', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRevision, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRevision::Representation + + collection :deployed_routes, as: 'deployedRoutes', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRoute, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRoute::Representation + + property :instance, as: 'instance' + end + end + + class GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRevision + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :percentage, as: 'percentage' + property :revision, as: 'revision' + end + end + + class GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRoute + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :basepath, as: 'basepath' + property :envgroup, as: 'envgroup' + property :environment, as: 'environment' + property :percentage, as: 'percentage' + end + end + class GoogleCloudApigeeV1KeyAliasReference # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1277,6 +1576,24 @@ module Google end end + class GoogleCloudApigeeV1ListEnvironmentGroupAttachmentsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :environment_group_attachments, as: 'environmentGroupAttachments', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroupAttachment, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroupAttachment::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class GoogleCloudApigeeV1ListEnvironmentGroupsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :environment_groups, as: 'environmentGroups', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroup, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroup::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + class GoogleCloudApigeeV1ListEnvironmentResourcesResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1293,6 +1610,24 @@ module Google end end + class GoogleCloudApigeeV1ListInstanceAttachmentsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :attachments, as: 'attachments', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1InstanceAttachment, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1InstanceAttachment::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class GoogleCloudApigeeV1ListInstancesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :instances, as: 'instances', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Instance, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Instance::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + class GoogleCloudApigeeV1ListOfDevelopersResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1374,6 +1709,8 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :analytics_region, as: 'analyticsRegion' collection :attributes, as: 'attributes' + property :authorized_network, as: 'authorizedNetwork' + property :ca_certificate, :base64 => true, as: 'caCertificate' property :created_at, :numeric_string => true, as: 'createdAt' property :customer_name, as: 'customerName' property :description, as: 'description' @@ -1496,6 +1833,22 @@ module Google end end + class GoogleCloudApigeeV1ReportInstanceStatusRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :instance_uid, as: 'instanceUid' + property :report_time, as: 'reportTime' + collection :resources, as: 'resources', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ResourceStatus, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ResourceStatus::Representation + + end + end + + class GoogleCloudApigeeV1ReportInstanceStatusResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + class GoogleCloudApigeeV1ReportProperty # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1529,6 +1882,17 @@ module Google end end + class GoogleCloudApigeeV1ResourceStatus + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :resource, as: 'resource' + collection :revisions, as: 'revisions', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1RevisionStatus, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1RevisionStatus::Representation + + property :total_replicas, as: 'totalReplicas' + property :uid, as: 'uid' + end + end + class GoogleCloudApigeeV1Result # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1548,6 +1912,25 @@ module Google end end + class GoogleCloudApigeeV1RevisionStatus + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :errors, as: 'errors', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1UpdateError, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1UpdateError::Representation + + property :json_spec, as: 'jsonSpec' + property :replicas, as: 'replicas' + property :revision_id, as: 'revisionId' + end + end + + class GoogleCloudApigeeV1RoutingRule + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :basepath, as: 'basepath' + property :environment, as: 'environment' + end + end + class GoogleCloudApigeeV1Schema # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1727,6 +2110,16 @@ module Google end end + class GoogleCloudApigeeV1UpdateError + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + property :message, as: 'message' + property :resource, as: 'resource' + property :type, as: 'type' + end + end + class GoogleIamV1AuditConfig # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1816,6 +2209,23 @@ module Google end end + class GoogleRpcPreconditionFailure + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :violations, as: 'violations', class: Google::Apis::ApigeeV1::GoogleRpcPreconditionFailureViolation, decorator: Google::Apis::ApigeeV1::GoogleRpcPreconditionFailureViolation::Representation + + end + end + + class GoogleRpcPreconditionFailureViolation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :description, as: 'description' + property :subject, as: 'subject' + property :type, as: 'type' + end + end + class GoogleRpcStatus # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/apigee_v1/service.rb b/generated/google/apis/apigee_v1/service.rb index 36f161c98..6e526ee7f 100644 --- a/generated/google/apis/apigee_v1/service.rb +++ b/generated/google/apis/apigee_v1/service.rb @@ -159,6 +159,37 @@ module Google execute_or_queue_command(command, &block) end + # Gets the deployed ingress configuration for an organization. + # @param [String] name + # Name of the deployed configuration for the organization in the following + # format: 'organizations/`org`/deployedIngressConfig'. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1IngressConfig] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1IngressConfig] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_organization_deployed_ingress_config(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1IngressConfig::Representation + command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1IngressConfig + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Lists the service accounts with the permissions required to allow # the Synchronizer to download environment data from the control plane. # An ETag is returned in the response to `getSyncAuthorization`. @@ -2568,6 +2599,316 @@ module Google execute_or_queue_command(command, &block) end + # Creates a new environment group. + # @param [String] parent + # Name of the organization in which to create the environment group in the + # following format: `organizations/`org``. + # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroup] google_cloud_apigee_v1_environment_group_object + # @param [String] name + # ID of the environment group. Overrides any ID in the environment_group + # resource. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_organization_envgroup(parent, google_cloud_apigee_v1_environment_group_object = nil, name: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+parent}/envgroups', options) + command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroup::Representation + command.request_object = google_cloud_apigee_v1_environment_group_object + command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation + command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation + command.params['parent'] = parent unless parent.nil? + command.query['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Deletes an environment group. + # @param [String] name + # Name of the environment group in the following format: + # `organizations/`org`/envgroups/`envgroup``. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_organization_envgroup(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/{+name}', options) + command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation + command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets an environment group. + # @param [String] name + # Name of the environment group in the following format: + # `organizations/`org`/envgroups/`envgroup``. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroup] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroup] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_organization_envgroup(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroup::Representation + command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroup + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists all environment groups. + # @param [String] parent + # Name of the organization for which to list environment groups in the + # following format: `organizations/`org``. + # @param [Fixnum] page_size + # Maximum number of environment groups to return. The page size defaults + # to 25. + # @param [String] page_token + # Page token, returned from a previous ListEnvironmentGroups call, that you + # can use to retrieve the next page. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListEnvironmentGroupsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListEnvironmentGroupsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_organization_envgroups(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+parent}/envgroups', options) + command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListEnvironmentGroupsResponse::Representation + command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListEnvironmentGroupsResponse + command.params['parent'] = parent unless parent.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Updates an environment group. + # @param [String] name + # Name of the environment group to update in the format: + # `organizations/`org`/envgroups/`envgroup`. + # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroup] google_cloud_apigee_v1_environment_group_object + # @param [String] update_mask + # List of fields to be updated. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_organization_envgroup(name, google_cloud_apigee_v1_environment_group_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v1/{+name}', options) + command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroup::Representation + command.request_object = google_cloud_apigee_v1_environment_group_object + command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation + command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation + command.params['name'] = name unless name.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Creates a new attachment of an environment to an environment group. + # @param [String] parent + # EnvironmentGroup under which to create the attachment in the following + # format: `organizations/`org`/envgroups/`envgroup``. + # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroupAttachment] google_cloud_apigee_v1_environment_group_attachment_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_organization_envgroup_attachment(parent, google_cloud_apigee_v1_environment_group_attachment_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+parent}/attachments', options) + command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroupAttachment::Representation + command.request_object = google_cloud_apigee_v1_environment_group_attachment_object + command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation + command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation + command.params['parent'] = parent unless parent.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Deletes an environment group attachment. + # @param [String] name + # Name of the environment group attachment to delete in the following format: + # `organizations/`org`/envgroups/`envgroup`/attachments/`attachment``. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_organization_envgroup_attachment(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/{+name}', options) + command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation + command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets an environment group attachment. + # @param [String] name + # Name of the environment group attachment in the following format: + # `organizations/`org`/envgroups/`envgroup`/attachments/`attachment`` + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroupAttachment] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroupAttachment] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_organization_envgroup_attachment(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroupAttachment::Representation + command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroupAttachment + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists all attachments of an environment group. + # @param [String] parent + # Name of the organization in the following format: `organizations/`org``. + # @param [Fixnum] page_size + # Maximum number of environment group attachments to return. The page size + # defaults to 25. + # @param [String] page_token + # Page token, returned by a previous ListEnvironmentGroupAttachments call, + # that you can use to retrieve the next page. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListEnvironmentGroupAttachmentsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListEnvironmentGroupAttachmentsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_organization_envgroup_attachments(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+parent}/attachments', options) + command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListEnvironmentGroupAttachmentsResponse::Representation + command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListEnvironmentGroupAttachmentsResponse + command.params['parent'] = parent unless parent.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Creates an environment in an organization. # @param [String] parent # Required. Name of the organization in which the environment will @@ -3360,6 +3701,89 @@ module Google execute_or_queue_command(command, &block) end + # Generates a report for a dry run analysis of a DeployApiProxy request + # without committing the deployment. + # In addition to the standard validations performed when adding deployments, + # additional analysis will be done to detect possible traffic routing changes + # that would result from this deployment being created. Any potential routing + # conflicts or unsafe changes will be reported in the response. This routing + # analysis is not performed for a non-dry-run DeployApiProxy request. + # @param [String] name + # Name of the API proxy revision deployment in the following format: + # `organizations/`org`/environments/`env`/apis/`api`/revisions/`rev`` + # @param [String] basepath + # Base path where the API proxy revision should be deployed. Defaults to '/' + # if not provided. + # @param [Boolean] override + # Flag that specifies whether to force the deployment of the new revision + # over the currently deployed revision by overriding conflict checks. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReport] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReport] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def generate_organization_environment_api_revision_deployment_deploy_change_report(name, basepath: nil, override: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}/deployments:generateDeployChangeReport', options) + command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReport::Representation + command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReport + command.params['name'] = name unless name.nil? + command.query['basepath'] = basepath unless basepath.nil? + command.query['override'] = override unless override.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Generates a report for a dry run analysis of an UndeployApiProxy request + # without committing the undeploy. + # In addition to the standard validations performed when removing + # deployments, additional analysis will be done to detect possible traffic + # routing changes that would result from this deployment being removed. Any + # potential routing conflicts or unsafe changes will be reported in the + # response. This routing analysis is not performed for a non-dry-run + # UndeployApiProxy request. + # @param [String] name + # Name of the API proxy revision deployment in the following format: + # `organizations/`org`/environments/`env`/apis/`api`/revisions/`rev`` + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReport] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReport] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def generate_organization_environment_api_revision_deployment_undeploy_change_report(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}/deployments:generateUndeployChangeReport', options) + command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReport::Representation + command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReport + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Deletes a cache. # @param [String] name # Required. Cache resource name of the form: @@ -4916,6 +5340,321 @@ module Google execute_or_queue_command(command, &block) end + # Creates an Apigee runtime instance. The instance is accessible from the + # authorized network configured on the organization. + # **Note:** Not supported for Apigee hybrid. + # @param [String] parent + # Required. Name of the organization. Use the following structure in your + # request: + # `organizations/`org``. + # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Instance] google_cloud_apigee_v1_instance_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_organization_instance(parent, google_cloud_apigee_v1_instance_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+parent}/instances', options) + command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Instance::Representation + command.request_object = google_cloud_apigee_v1_instance_object + command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation + command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation + command.params['parent'] = parent unless parent.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Deletes an Apigee runtime instance. The instance stops serving + # requests and the runtime data is deleted. + # **Note:** Not supported for Apigee hybrid. + # @param [String] name + # Name of the instance. Use the following structure in your request: + # `organizations/`org`/instance/`instance``. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_organization_instance(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/{+name}', options) + command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation + command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets the details for an Apigee runtime instance. + # **Note:** Not supported for Apigee hybrid. + # @param [String] name + # Name of the instance. Use the following structure in your request: + # `organizations/`org`/instances/`instance``. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Instance] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Instance] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_organization_instance(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Instance::Representation + command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Instance + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists all Apigee runtime instances for the organization. + # **Note:** Not supported for Apigee hybrid. + # @param [String] parent + # Name of the organization. Use the following structure in your request: + # `organizations/`org``. + # @param [Fixnum] page_size + # Maximum number of instances to return. Defaults to 25. + # @param [String] page_token + # Page token, returned from a previous ListInstances call, that you can + # use to retrieve the next page of content. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListInstancesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListInstancesResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_organization_instances(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+parent}/instances', options) + command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListInstancesResponse::Representation + command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListInstancesResponse + command.params['parent'] = parent unless parent.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Reports the latest status for a runtime instance. + # @param [String] instance + # The name of the instance reporting this status. For SaaS the request + # will be rejected if no instance exists under this name. + # Format is organizations/`org`/instances/`instance` + # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ReportInstanceStatusRequest] google_cloud_apigee_v1_report_instance_status_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ReportInstanceStatusResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ReportInstanceStatusResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def report_organization_instance_status(instance, google_cloud_apigee_v1_report_instance_status_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+instance}:reportStatus', options) + command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ReportInstanceStatusRequest::Representation + command.request_object = google_cloud_apigee_v1_report_instance_status_request_object + command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ReportInstanceStatusResponse::Representation + command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ReportInstanceStatusResponse + command.params['instance'] = instance unless instance.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Creates a new attachment of an environment to an instance. + # **Note:** Not supported for Apigee hybrid. + # @param [String] parent + # Required. Name of the instance. Use the following structure in your request: + # `organizations/`org`/instances/`instance``. + # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1InstanceAttachment] google_cloud_apigee_v1_instance_attachment_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_organization_instance_attachment(parent, google_cloud_apigee_v1_instance_attachment_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+parent}/attachments', options) + command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1InstanceAttachment::Representation + command.request_object = google_cloud_apigee_v1_instance_attachment_object + command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation + command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation + command.params['parent'] = parent unless parent.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Deletes an attachment. + # **Note:** Not supported for Apigee hybrid. + # @param [String] name + # Required. Name of the attachment. Use the following structure in your request: + # `organizations/`org`/instances/`instance`/attachments/`attachment``. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_organization_instance_attachment(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/{+name}', options) + command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation + command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets an attachment. + # **Note:** Not supported for Apigee hybrid. + # @param [String] name + # Required. Name of the attachment. Use the following structure in your request: + # `organizations/`org`/instances/`instance`/attachments/`attachment`` + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1InstanceAttachment] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1InstanceAttachment] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_organization_instance_attachment(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1InstanceAttachment::Representation + command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1InstanceAttachment + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists all attachments to an instance. + # **Note:** Not supported for Apigee hybrid. + # @param [String] parent + # Required. Name of the organization. Use the following structure in your + # request: + # `organizations/`org`/instances/`instance`` + # @param [Fixnum] page_size + # Maximum number of instance attachments to return. Defaults to 25. + # @param [String] page_token + # Page token, returned by a previous ListInstanceAttachments call, that you + # can use to retrieve the next page of content. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListInstanceAttachmentsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListInstanceAttachmentsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_organization_instance_attachments(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+parent}/attachments', options) + command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListInstanceAttachmentsResponse::Representation + command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListInstanceAttachmentsResponse + command.params['parent'] = parent unless parent.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Creates a key value map in an organization. # @param [String] parent # Required. The name of the organization in which to create the key value map diff --git a/generated/google/apis/dialogflow_v2beta1.rb b/generated/google/apis/dialogflow_v2beta1.rb index 52c55add3..2a73e3e2f 100644 --- a/generated/google/apis/dialogflow_v2beta1.rb +++ b/generated/google/apis/dialogflow_v2beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/dialogflow/ module DialogflowV2beta1 VERSION = 'V2beta1' - REVISION = '20200627' + REVISION = '20200706' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/dialogflow_v2beta1/classes.rb b/generated/google/apis/dialogflow_v2beta1/classes.rb index 53dd1a9ec..069486428 100644 --- a/generated/google/apis/dialogflow_v2beta1/classes.rb +++ b/generated/google/apis/dialogflow_v2beta1/classes.rb @@ -3809,8 +3809,10 @@ module Google attr_accessor :description # Output only. The unique identifier of this agent environment. - # Format: `projects//agent/environments/`. - # For Environment ID, "-" is reserved for 'draft' environment. + # Format: + # - `projects//agent/environments/` + # - `projects//locations//agent/environments/` # Corresponds to the JSON property `name` # @return [String] attr_accessor :name diff --git a/generated/google/apis/dialogflow_v2beta1/service.rb b/generated/google/apis/dialogflow_v2beta1/service.rb index ad13db82c..39713fe23 100644 --- a/generated/google/apis/dialogflow_v2beta1/service.rb +++ b/generated/google/apis/dialogflow_v2beta1/service.rb @@ -841,7 +841,10 @@ module Google # Returns the list of all non-draft environments of the specified agent. # @param [String] parent # Required. The agent to list all environments from. - # Format: `projects//agent`. + # Format: + # - `projects//agent` + # - `projects//locations//agent # @param [Fixnum] page_size # Optional. The maximum number of items to return in a single page. By default # 100 and @@ -3725,7 +3728,10 @@ module Google # Returns the list of all non-draft environments of the specified agent. # @param [String] parent # Required. The agent to list all environments from. - # Format: `projects//agent`. + # Format: + # - `projects//agent` + # - `projects//locations//agent # @param [Fixnum] page_size # Optional. The maximum number of items to return in a single page. By default # 100 and diff --git a/generated/google/apis/recommender_v1.rb b/generated/google/apis/recommender_v1.rb index d11f69db2..22abd7ed7 100644 --- a/generated/google/apis/recommender_v1.rb +++ b/generated/google/apis/recommender_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/recommender/docs/ module RecommenderV1 VERSION = 'V1' - REVISION = '20200516' + REVISION = '20200704' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/recommender_v1/classes.rb b/generated/google/apis/recommender_v1/classes.rb index 5336a671b..e16052d81 100644 --- a/generated/google/apis/recommender_v1/classes.rb +++ b/generated/google/apis/recommender_v1/classes.rb @@ -72,6 +72,163 @@ module Google end end + # An insight along with the information used to derive the insight. The insight + # may have associated recomendations as well. + class GoogleCloudRecommenderV1Insight + include Google::Apis::Core::Hashable + + # Recommendations derived from this insight. + # Corresponds to the JSON property `associatedRecommendations` + # @return [Array] + attr_accessor :associated_recommendations + + # Category being targeted by the insight. + # Corresponds to the JSON property `category` + # @return [String] + attr_accessor :category + + # A struct of custom fields to explain the insight. + # Example: "grantedPermissionsCount": "1000" + # Corresponds to the JSON property `content` + # @return [Hash] + attr_accessor :content + + # Free-form human readable summary in English. The maximum length is 500 + # characters. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Fingerprint of the Insight. Provides optimistic locking when updating + # states. + # Corresponds to the JSON property `etag` + # @return [String] + attr_accessor :etag + + # Insight subtype. Insight content schema will be stable for a given subtype. + # Corresponds to the JSON property `insightSubtype` + # @return [String] + attr_accessor :insight_subtype + + # Timestamp of the latest data used to generate the insight. + # Corresponds to the JSON property `lastRefreshTime` + # @return [String] + attr_accessor :last_refresh_time + + # Name of the insight. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Observation period that led to the insight. The source data used to + # generate the insight ends at last_refresh_time and begins at + # (last_refresh_time - observation_period). + # Corresponds to the JSON property `observationPeriod` + # @return [String] + attr_accessor :observation_period + + # Information related to insight state. + # Corresponds to the JSON property `stateInfo` + # @return [Google::Apis::RecommenderV1::GoogleCloudRecommenderV1InsightStateInfo] + attr_accessor :state_info + + # Fully qualified resource names that this insight is targeting. + # Corresponds to the JSON property `targetResources` + # @return [Array] + attr_accessor :target_resources + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @associated_recommendations = args[:associated_recommendations] if args.key?(:associated_recommendations) + @category = args[:category] if args.key?(:category) + @content = args[:content] if args.key?(:content) + @description = args[:description] if args.key?(:description) + @etag = args[:etag] if args.key?(:etag) + @insight_subtype = args[:insight_subtype] if args.key?(:insight_subtype) + @last_refresh_time = args[:last_refresh_time] if args.key?(:last_refresh_time) + @name = args[:name] if args.key?(:name) + @observation_period = args[:observation_period] if args.key?(:observation_period) + @state_info = args[:state_info] if args.key?(:state_info) + @target_resources = args[:target_resources] if args.key?(:target_resources) + end + end + + # Reference to an associated recommendation. + class GoogleCloudRecommenderV1InsightRecommendationReference + include Google::Apis::Core::Hashable + + # Recommendation resource name, e.g. + # projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/ + # recommendations/[RECOMMENDATION_ID] + # Corresponds to the JSON property `recommendation` + # @return [String] + attr_accessor :recommendation + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @recommendation = args[:recommendation] if args.key?(:recommendation) + end + end + + # Information related to insight state. + class GoogleCloudRecommenderV1InsightStateInfo + include Google::Apis::Core::Hashable + + # Insight state. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + # A map of metadata for the state, provided by user or automations systems. + # Corresponds to the JSON property `stateMetadata` + # @return [Hash] + attr_accessor :state_metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @state = args[:state] if args.key?(:state) + @state_metadata = args[:state_metadata] if args.key?(:state_metadata) + end + end + + # Response to the `ListInsights` method. + class GoogleCloudRecommenderV1ListInsightsResponse + include Google::Apis::Core::Hashable + + # The set of insights for the `parent` resource. + # Corresponds to the JSON property `insights` + # @return [Array] + attr_accessor :insights + + # A token that can be used to request the next page of results. This field is + # empty if there are no additional results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @insights = args[:insights] if args.key?(:insights) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + # Response to the `ListRecommendations` method. class GoogleCloudRecommenderV1ListRecommendationsResponse include Google::Apis::Core::Hashable @@ -98,6 +255,33 @@ module Google end end + # Request for the `MarkInsightAccepted` method. + class GoogleCloudRecommenderV1MarkInsightAcceptedRequest + include Google::Apis::Core::Hashable + + # Required. Fingerprint of the Insight. Provides optimistic locking. + # Corresponds to the JSON property `etag` + # @return [String] + attr_accessor :etag + + # Optional. State properties user wish to include with this state. Full replace + # of the + # current state_metadata. + # Corresponds to the JSON property `stateMetadata` + # @return [Hash] + attr_accessor :state_metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @etag = args[:etag] if args.key?(:etag) + @state_metadata = args[:state_metadata] if args.key?(:state_metadata) + end + end + # Request for the `MarkRecommendationClaimed` Method. class GoogleCloudRecommenderV1MarkRecommendationClaimedRequest include Google::Apis::Core::Hashable @@ -329,6 +513,11 @@ module Google # @return [Array] attr_accessor :additional_impact + # Insights that led to this recommendation. + # Corresponds to the JSON property `associatedInsights` + # @return [Array] + attr_accessor :associated_insights + # Contains what resources are changing and how they are changing. # Corresponds to the JSON property `content` # @return [Google::Apis::RecommenderV1::GoogleCloudRecommenderV1RecommendationContent] @@ -386,6 +575,7 @@ module Google # Update properties of this object def update!(**args) @additional_impact = args[:additional_impact] if args.key?(:additional_impact) + @associated_insights = args[:associated_insights] if args.key?(:associated_insights) @content = args[:content] if args.key?(:content) @description = args[:description] if args.key?(:description) @etag = args[:etag] if args.key?(:etag) @@ -418,6 +608,27 @@ module Google end end + # Reference to an associated insight. + class GoogleCloudRecommenderV1RecommendationInsightReference + include Google::Apis::Core::Hashable + + # Insight resource name, e.g. + # projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/ + # insights/[INSIGHT_ID] + # Corresponds to the JSON property `insight` + # @return [String] + attr_accessor :insight + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @insight = args[:insight] if args.key?(:insight) + end + end + # Information for state. Contains state and metadata. class GoogleCloudRecommenderV1RecommendationStateInfo include Google::Apis::Core::Hashable diff --git a/generated/google/apis/recommender_v1/representations.rb b/generated/google/apis/recommender_v1/representations.rb index a5ed5de0a..89676fcc1 100644 --- a/generated/google/apis/recommender_v1/representations.rb +++ b/generated/google/apis/recommender_v1/representations.rb @@ -34,12 +34,42 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudRecommenderV1Insight + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudRecommenderV1InsightRecommendationReference + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudRecommenderV1InsightStateInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudRecommenderV1ListInsightsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudRecommenderV1ListRecommendationsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudRecommenderV1MarkInsightAcceptedRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudRecommenderV1MarkRecommendationClaimedRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -82,6 +112,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudRecommenderV1RecommendationInsightReference + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudRecommenderV1RecommendationStateInfo class Representation < Google::Apis::Core::JsonRepresentation; end @@ -118,6 +154,49 @@ module Google end end + class GoogleCloudRecommenderV1Insight + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :associated_recommendations, as: 'associatedRecommendations', class: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1InsightRecommendationReference, decorator: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1InsightRecommendationReference::Representation + + property :category, as: 'category' + hash :content, as: 'content' + property :description, as: 'description' + property :etag, as: 'etag' + property :insight_subtype, as: 'insightSubtype' + property :last_refresh_time, as: 'lastRefreshTime' + property :name, as: 'name' + property :observation_period, as: 'observationPeriod' + property :state_info, as: 'stateInfo', class: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1InsightStateInfo, decorator: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1InsightStateInfo::Representation + + collection :target_resources, as: 'targetResources' + end + end + + class GoogleCloudRecommenderV1InsightRecommendationReference + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :recommendation, as: 'recommendation' + end + end + + class GoogleCloudRecommenderV1InsightStateInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :state, as: 'state' + hash :state_metadata, as: 'stateMetadata' + end + end + + class GoogleCloudRecommenderV1ListInsightsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :insights, as: 'insights', class: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1Insight, decorator: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1Insight::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + class GoogleCloudRecommenderV1ListRecommendationsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -127,6 +206,14 @@ module Google end end + class GoogleCloudRecommenderV1MarkInsightAcceptedRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :etag, as: 'etag' + hash :state_metadata, as: 'stateMetadata' + end + end + class GoogleCloudRecommenderV1MarkRecommendationClaimedRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -182,6 +269,8 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation collection :additional_impact, as: 'additionalImpact', class: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1Impact, decorator: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1Impact::Representation + collection :associated_insights, as: 'associatedInsights', class: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1RecommendationInsightReference, decorator: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1RecommendationInsightReference::Representation + property :content, as: 'content', class: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1RecommendationContent, decorator: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1RecommendationContent::Representation property :description, as: 'description' @@ -204,6 +293,13 @@ module Google end end + class GoogleCloudRecommenderV1RecommendationInsightReference + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :insight, as: 'insight' + end + end + class GoogleCloudRecommenderV1RecommendationStateInfo # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/recommender_v1/service.rb b/generated/google/apis/recommender_v1/service.rb index a689f4e47..ff7449149 100644 --- a/generated/google/apis/recommender_v1/service.rb +++ b/generated/google/apis/recommender_v1/service.rb @@ -47,6 +47,129 @@ module Google @batch_path = 'batch' end + # Gets the requested insight. Requires the recommender.*.get IAM permission + # for the specified insight type. + # @param [String] name + # Required. Name of the insight. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::RecommenderV1::GoogleCloudRecommenderV1Insight] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::RecommenderV1::GoogleCloudRecommenderV1Insight] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_location_insight_type_insight(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::RecommenderV1::GoogleCloudRecommenderV1Insight::Representation + command.response_class = Google::Apis::RecommenderV1::GoogleCloudRecommenderV1Insight + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists insights for a Cloud project. Requires the recommender.*.list IAM + # permission for the specified insight type. + # @param [String] parent + # Required. The container resource on which to execute the request. + # Acceptable formats: + # 1. + # "projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]" + # , + # LOCATION here refers to GCP Locations: + # https://cloud.google.com/about/locations/ + # @param [String] filter + # Optional. Filter expression to restrict the insights returned. Supported + # filter fields: state + # Eg: `state:"DISMISSED" or state:"ACTIVE" + # @param [Fixnum] page_size + # Optional. The maximum number of results to return from this request. Non- + # positive + # values are ignored. If not specified, the server will determine the number + # of results to return. + # @param [String] page_token + # Optional. If present, retrieves the next batch of results from the preceding + # call to + # this method. `page_token` must be the value of `next_page_token` from the + # previous response. The values of other method parameters must be identical + # to those in the previous call. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::RecommenderV1::GoogleCloudRecommenderV1ListInsightsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::RecommenderV1::GoogleCloudRecommenderV1ListInsightsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_location_insight_type_insights(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+parent}/insights', options) + command.response_representation = Google::Apis::RecommenderV1::GoogleCloudRecommenderV1ListInsightsResponse::Representation + command.response_class = Google::Apis::RecommenderV1::GoogleCloudRecommenderV1ListInsightsResponse + command.params['parent'] = parent unless parent.nil? + command.query['filter'] = filter unless filter.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Marks the Insight State as Accepted. Users can use this method to + # indicate to the Recommender API that they have applied some action based + # on the insight. This stops the insight content from being updated. + # MarkInsightAccepted can be applied to insights in ACTIVE state. Requires + # the recommender.*.update IAM permission for the specified insight. + # @param [String] name + # Required. Name of the insight. + # @param [Google::Apis::RecommenderV1::GoogleCloudRecommenderV1MarkInsightAcceptedRequest] google_cloud_recommender_v1_mark_insight_accepted_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::RecommenderV1::GoogleCloudRecommenderV1Insight] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::RecommenderV1::GoogleCloudRecommenderV1Insight] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def mark_project_location_insight_type_insight_accepted(name, google_cloud_recommender_v1_mark_insight_accepted_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}:markAccepted', options) + command.request_representation = Google::Apis::RecommenderV1::GoogleCloudRecommenderV1MarkInsightAcceptedRequest::Representation + command.request_object = google_cloud_recommender_v1_mark_insight_accepted_request_object + command.response_representation = Google::Apis::RecommenderV1::GoogleCloudRecommenderV1Insight::Representation + command.response_class = Google::Apis::RecommenderV1::GoogleCloudRecommenderV1Insight + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Gets the requested recommendation. Requires the recommender.*.get # IAM permission for the specified recommender. # @param [String] name diff --git a/generated/google/apis/testing_v1.rb b/generated/google/apis/testing_v1.rb index 1b509981a..f82ecb934 100644 --- a/generated/google/apis/testing_v1.rb +++ b/generated/google/apis/testing_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/cloud-test-lab/ module TestingV1 VERSION = 'V1' - REVISION = '20200603' + REVISION = '20200706' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/testing_v1/classes.rb b/generated/google/apis/testing_v1/classes.rb index 9578148b0..c68854c77 100644 --- a/generated/google/apis/testing_v1/classes.rb +++ b/generated/google/apis/testing_v1/classes.rb @@ -1528,7 +1528,9 @@ module Google include Google::Apis::Core::Hashable # Required. Group of packages, classes, and/or test methods to be run for - # each shard. The number of shard_test_targets must be >= 1 and <= 50. + # each shard. When any physical devices are selected, the number of + # test_targets_for_shard must be >= 1 and <= 50. When no physical devices are + # selected, the number must be >= 1 and <= 250. # Corresponds to the JSON property `testTargetsForShard` # @return [Array] attr_accessor :test_targets_for_shard @@ -1688,10 +1690,10 @@ module Google attr_accessor :content # Required. Where to put the content on the device. Must be an absolute, - # whitelisted path. If the file exists, it will be replaced. + # allowlisted path. If the file exists, it will be replaced. # The following device-side directories and any of their subdirectories are - # whitelisted: - #

$`EXTERNAL_STORAGE`, or /sdcard

+ # allowlisted: + #

$`EXTERNAL_STORAGE`, /sdcard, or /storage

#

$`ANDROID_DATA`/local/tmp, or /data/local/tmp

#

Specifying a path outside of these directory trees is invalid. #

The paths /sdcard and /data will be made available and treated as @@ -2190,7 +2192,7 @@ module Google attr_accessor :additional_apks # List of directories on the device to upload to GCS at the end of the test; - # they must be absolute paths under /sdcard or /data/local/tmp. + # they must be absolute paths under /sdcard, /storage or /data/local/tmp. # Path names are restricted to characters a-z A-Z 0-9 _ - . + and / # Note: The paths /sdcard and /data will be made available and treated as # implicit path substitutions. E.g. if /sdcard on a particular device does @@ -2200,6 +2202,12 @@ module Google # @return [Array] attr_accessor :directories_to_pull + # Whether to prevent all runtime permissions to be granted at app install + # Corresponds to the JSON property `dontAutograntPermissions` + # @return [Boolean] + attr_accessor :dont_autogrant_permissions + alias_method :dont_autogrant_permissions?, :dont_autogrant_permissions + # Environment variables to set for the test (only applicable for # instrumentation tests). # Corresponds to the JSON property `environmentVariables` @@ -2236,6 +2244,7 @@ module Google @account = args[:account] if args.key?(:account) @additional_apks = args[:additional_apks] if args.key?(:additional_apks) @directories_to_pull = args[:directories_to_pull] if args.key?(:directories_to_pull) + @dont_autogrant_permissions = args[:dont_autogrant_permissions] if args.key?(:dont_autogrant_permissions) @environment_variables = args[:environment_variables] if args.key?(:environment_variables) @files_to_push = args[:files_to_push] if args.key?(:files_to_push) @network_profile = args[:network_profile] if args.key?(:network_profile) @@ -2504,7 +2513,9 @@ module Google class UniformSharding include Google::Apis::Core::Hashable - # Required. Total number of shards. The number must be >= 1 and <= 50. + # Required. Total number of shards. When any physical devices are selected, + # the number must be >= 1 and <= 50. When no physical devices are selected, + # the number must be >= 1 and <= 250. # Corresponds to the JSON property `numShards` # @return [Fixnum] attr_accessor :num_shards diff --git a/generated/google/apis/testing_v1/representations.rb b/generated/google/apis/testing_v1/representations.rb index 2ac248de0..c1d1166e3 100644 --- a/generated/google/apis/testing_v1/representations.rb +++ b/generated/google/apis/testing_v1/representations.rb @@ -1044,6 +1044,7 @@ module Google collection :additional_apks, as: 'additionalApks', class: Google::Apis::TestingV1::Apk, decorator: Google::Apis::TestingV1::Apk::Representation collection :directories_to_pull, as: 'directoriesToPull' + property :dont_autogrant_permissions, as: 'dontAutograntPermissions' collection :environment_variables, as: 'environmentVariables', class: Google::Apis::TestingV1::EnvironmentVariable, decorator: Google::Apis::TestingV1::EnvironmentVariable::Representation collection :files_to_push, as: 'filesToPush', class: Google::Apis::TestingV1::DeviceFile, decorator: Google::Apis::TestingV1::DeviceFile::Representation diff --git a/generated/google/apis/youtube_partner_v1.rb b/generated/google/apis/youtube_partner_v1.rb index bf9d55b70..993be1ce4 100644 --- a/generated/google/apis/youtube_partner_v1.rb +++ b/generated/google/apis/youtube_partner_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://devsite.googleplex.com/youtube/partner/docs/v1/ module YoutubePartnerV1 VERSION = 'V1' - REVISION = '20200706' + REVISION = '20200707' # View and manage your assets and associated content on YouTube AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'