|
585 | 585 | } |
586 | 586 | } |
587 | 587 | } |
588 | | -}, |
589 | | -"vpcFlowLogsConfigs": { |
590 | | -"methods": { |
591 | | -"create": { |
592 | | -"description": "Creates a new VPC Flow Logs configuration. If a configuration with the exact same settings already exists, the creation fails.", |
593 | | -"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/vpcFlowLogsConfigs", |
594 | | -"httpMethod": "POST", |
595 | | -"id": "networkmanagement.projects.locations.vpcFlowLogsConfigs.create", |
596 | | -"parameterOrder": [ |
597 | | -"parent" |
598 | | -], |
599 | | -"parameters": { |
600 | | -"parent": { |
601 | | -"description": "Required. The parent resource of the VPC Flow Logs configuration to create: `projects/{project_id}/locations/global`", |
602 | | -"location": "path", |
603 | | -"pattern": "^projects/[^/]+/locations/[^/]+$", |
604 | | -"required": true, |
605 | | -"type": "string" |
606 | | -}, |
607 | | -"vpcFlowLogsConfigId": { |
608 | | -"description": "Required. ID of the VpcFlowLogsConfig.", |
609 | | -"location": "query", |
610 | | -"type": "string" |
611 | | -} |
612 | | -}, |
613 | | -"path": "v1beta1/{+parent}/vpcFlowLogsConfigs", |
614 | | -"request": { |
615 | | -"$ref": "VpcFlowLogsConfig" |
616 | | -}, |
617 | | -"response": { |
618 | | -"$ref": "Operation" |
619 | | -}, |
620 | | -"scopes": [ |
621 | | -"https://www.googleapis.com/auth/cloud-platform" |
622 | | -] |
623 | | -}, |
624 | | -"delete": { |
625 | | -"description": "Deletes a specific VpcFlowLog configuration.", |
626 | | -"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/vpcFlowLogsConfigs/{vpcFlowLogsConfigsId}", |
627 | | -"httpMethod": "DELETE", |
628 | | -"id": "networkmanagement.projects.locations.vpcFlowLogsConfigs.delete", |
629 | | -"parameterOrder": [ |
630 | | -"name" |
631 | | -], |
632 | | -"parameters": { |
633 | | -"name": { |
634 | | -"description": "Required. VpcFlowLogsConfig name using the form: `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config}`", |
635 | | -"location": "path", |
636 | | -"pattern": "^projects/[^/]+/locations/[^/]+/vpcFlowLogsConfigs/[^/]+$", |
637 | | -"required": true, |
638 | | -"type": "string" |
639 | | -} |
640 | | -}, |
641 | | -"path": "v1beta1/{+name}", |
642 | | -"response": { |
643 | | -"$ref": "Operation" |
644 | | -}, |
645 | | -"scopes": [ |
646 | | -"https://www.googleapis.com/auth/cloud-platform" |
647 | | -] |
648 | | -}, |
649 | | -"get": { |
650 | | -"description": "Gets the details of a specific VPC Flow Log configuration.", |
651 | | -"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/vpcFlowLogsConfigs/{vpcFlowLogsConfigsId}", |
652 | | -"httpMethod": "GET", |
653 | | -"id": "networkmanagement.projects.locations.vpcFlowLogsConfigs.get", |
654 | | -"parameterOrder": [ |
655 | | -"name" |
656 | | -], |
657 | | -"parameters": { |
658 | | -"name": { |
659 | | -"description": "Required. `VpcFlowLog` resource name using the form: `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config}`", |
660 | | -"location": "path", |
661 | | -"pattern": "^projects/[^/]+/locations/[^/]+/vpcFlowLogsConfigs/[^/]+$", |
662 | | -"required": true, |
663 | | -"type": "string" |
664 | | -} |
665 | | -}, |
666 | | -"path": "v1beta1/{+name}", |
667 | | -"response": { |
668 | | -"$ref": "VpcFlowLogsConfig" |
669 | | -}, |
670 | | -"scopes": [ |
671 | | -"https://www.googleapis.com/auth/cloud-platform" |
672 | | -] |
673 | | -}, |
674 | | -"list": { |
675 | | -"description": "Lists all VPC Flow Logs configurations in a given project.", |
676 | | -"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/vpcFlowLogsConfigs", |
677 | | -"httpMethod": "GET", |
678 | | -"id": "networkmanagement.projects.locations.vpcFlowLogsConfigs.list", |
679 | | -"parameterOrder": [ |
680 | | -"parent" |
681 | | -], |
682 | | -"parameters": { |
683 | | -"filter": { |
684 | | -"description": "Optional. Lists the `VpcFlowLogsConfig`s that match the filter expression. A filter expression filters the resources listed in the response. The expression must be of the form ` ` where operators: `<`, `>`, `<=`, `>=`, `!=`, `=`, `:` are supported (colon `:` represents a HAS operator which is roughly synonymous with equality). can refer to a proto or JSON field, or a synthetic field. Field names can be camelCase or snake_case. Examples: - Filter by name: name = \"projects/proj-1/locations/global/vpcFlowLogsConfigs/config-1 - Filter by target resource: - Configurations at the VPC network level target_resource.network:* - Configurations for a VPC network called `vpc-1` target_resource.network = vpc-1", |
685 | | -"location": "query", |
686 | | -"type": "string" |
687 | | -}, |
688 | | -"orderBy": { |
689 | | -"description": "Optional. Field to use to sort the list.", |
690 | | -"location": "query", |
691 | | -"type": "string" |
692 | | -}, |
693 | | -"pageSize": { |
694 | | -"description": "Optional. Number of `VpcFlowLogsConfig`s to return.", |
695 | | -"format": "int32", |
696 | | -"location": "query", |
697 | | -"type": "integer" |
698 | | -}, |
699 | | -"pageToken": { |
700 | | -"description": "Optional. Page token from an earlier query, as returned in `next_page_token`.", |
701 | | -"location": "query", |
702 | | -"type": "string" |
703 | | -}, |
704 | | -"parent": { |
705 | | -"description": "Required. The parent resource of the VpcFlowLogsConfig: `projects/{project_id}/locations/global`", |
706 | | -"location": "path", |
707 | | -"pattern": "^projects/[^/]+/locations/[^/]+$", |
708 | | -"required": true, |
709 | | -"type": "string" |
710 | | -} |
711 | | -}, |
712 | | -"path": "v1beta1/{+parent}/vpcFlowLogsConfigs", |
713 | | -"response": { |
714 | | -"$ref": "ListVpcFlowLogsConfigsResponse" |
715 | | -}, |
716 | | -"scopes": [ |
717 | | -"https://www.googleapis.com/auth/cloud-platform" |
718 | | -] |
719 | | -}, |
720 | | -"patch": { |
721 | | -"description": "Updates an existing VpcFlowLogsConfig. If a configuration with the exact same settings already exists, the creation fails.", |
722 | | -"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/vpcFlowLogsConfigs/{vpcFlowLogsConfigsId}", |
723 | | -"httpMethod": "PATCH", |
724 | | -"id": "networkmanagement.projects.locations.vpcFlowLogsConfigs.patch", |
725 | | -"parameterOrder": [ |
726 | | -"name" |
727 | | -], |
728 | | -"parameters": { |
729 | | -"name": { |
730 | | -"description": "Identifier. Unique name of the configuration using the form: `projects/{project_id}/locations/global/vpcFlowLogs/{vpc_flow_log}`", |
731 | | -"location": "path", |
732 | | -"pattern": "^projects/[^/]+/locations/[^/]+/vpcFlowLogsConfigs/[^/]+$", |
733 | | -"required": true, |
734 | | -"type": "string" |
735 | | -}, |
736 | | -"updateMask": { |
737 | | -"description": "Required. Mask of fields to update. At least one path must be supplied in this field.", |
738 | | -"format": "google-fieldmask", |
739 | | -"location": "query", |
740 | | -"type": "string" |
741 | | -} |
742 | | -}, |
743 | | -"path": "v1beta1/{+name}", |
744 | | -"request": { |
745 | | -"$ref": "VpcFlowLogsConfig" |
746 | | -}, |
747 | | -"response": { |
748 | | -"$ref": "Operation" |
749 | | -}, |
750 | | -"scopes": [ |
751 | | -"https://www.googleapis.com/auth/cloud-platform" |
752 | | -] |
753 | | -} |
754 | | -} |
755 | 588 | } |
756 | 589 | } |
757 | 590 | } |
758 | 591 | } |
759 | 592 | } |
760 | 593 | }, |
761 | | -"revision": "20240424", |
| 594 | +"revision": "20240501", |
762 | 595 | "rootUrl": "https://networkmanagement.googleapis.com/", |
763 | 596 | "schemas": { |
764 | 597 | "AbortInfo": { |
@@ -1941,31 +1774,6 @@ false |
1941 | 1774 | }, |
1942 | 1775 | "type": "object" |
1943 | 1776 | }, |
1944 | | -"ListVpcFlowLogsConfigsResponse": { |
1945 | | -"description": "Response for the `ListVpcFlowLogsConfigs` method.", |
1946 | | -"id": "ListVpcFlowLogsConfigsResponse", |
1947 | | -"properties": { |
1948 | | -"nextPageToken": { |
1949 | | -"description": "Page token to fetch the next set of configurations.", |
1950 | | -"type": "string" |
1951 | | -}, |
1952 | | -"unreachable": { |
1953 | | -"description": "Locations that could not be reached (when querying all locations with `-`).", |
1954 | | -"items": { |
1955 | | -"type": "string" |
1956 | | -}, |
1957 | | -"type": "array" |
1958 | | -}, |
1959 | | -"vpcFlowLogsConfigs": { |
1960 | | -"description": "List of VPC Flow Log configurations.", |
1961 | | -"items": { |
1962 | | -"$ref": "VpcFlowLogsConfig" |
1963 | | -}, |
1964 | | -"type": "array" |
1965 | | -} |
1966 | | -}, |
1967 | | -"type": "object" |
1968 | | -}, |
1969 | 1777 | "LoadBalancerBackend": { |
1970 | 1778 | "description": "For display only. Metadata associated with a specific load balancer backend.", |
1971 | 1779 | "id": "LoadBalancerBackend", |
@@ -3022,124 +2830,6 @@ false |
3022 | 2830 | }, |
3023 | 2831 | "type": "object" |
3024 | 2832 | }, |
3025 | | -"VpcFlowLogsConfig": { |
3026 | | -"description": "A configuration to generate VPC Flow Logs.", |
3027 | | -"id": "VpcFlowLogsConfig", |
3028 | | -"properties": { |
3029 | | -"aggregationInterval": { |
3030 | | -"description": "Optional. The aggregation interval for the logs. Default value is INTERVAL_5_SEC.", |
3031 | | -"enum": [ |
3032 | | -"AGGREGATION_INTERVAL_UNSPECIFIED", |
3033 | | -"INTERVAL_5_SEC", |
3034 | | -"INTERVAL_30_SEC", |
3035 | | -"INTERVAL_1_MIN", |
3036 | | -"INTERVAL_5_MIN", |
3037 | | -"INTERVAL_10_MIN", |
3038 | | -"INTERVAL_15_MIN" |
3039 | | -], |
3040 | | -"enumDescriptions": [ |
3041 | | -"If not specified, will default to INTERVAL_5_SEC.", |
3042 | | -"Aggregate logs in 5s intervals.", |
3043 | | -"Aggregate logs in 30s intervals.", |
3044 | | -"Aggregate logs in 1m intervals.", |
3045 | | -"Aggregate logs in 5m intervals.", |
3046 | | -"Aggregate logs in 10m intervals.", |
3047 | | -"Aggregate logs in 15m intervals." |
3048 | | -], |
3049 | | -"type": "string" |
3050 | | -}, |
3051 | | -"createTime": { |
3052 | | -"description": "Output only. The time the config was created.", |
3053 | | -"format": "google-datetime", |
3054 | | -"readOnly": true, |
3055 | | -"type": "string" |
3056 | | -}, |
3057 | | -"description": { |
3058 | | -"description": "Optional. The user-supplied description of the VPC Flow Logs configuration. Maximum of 512 characters.", |
3059 | | -"type": "string" |
3060 | | -}, |
3061 | | -"filterExpr": { |
3062 | | -"description": "Export filter used to define which VPC flow logs should be logged.", |
3063 | | -"type": "string" |
3064 | | -}, |
3065 | | -"flowSampling": { |
3066 | | -"description": "Optional. The value of the field must be in [0, 1]. The sampling rate of VPC flow logs within the subnetwork where 1.0 means all collected logs are reported and 0.0 means no logs are reported. Default value is 1.0.", |
3067 | | -"format": "float", |
3068 | | -"type": "number" |
3069 | | -}, |
3070 | | -"interconnectAttachment": { |
3071 | | -"description": "Traffic will be logged from the Interconnect Attachment. Format: projects/{project_id}/locations/{region}/interconnectAttachments/{name}", |
3072 | | -"type": "string" |
3073 | | -}, |
3074 | | -"labels": { |
3075 | | -"additionalProperties": { |
3076 | | -"type": "string" |
3077 | | -}, |
3078 | | -"description": "Optional. Resource labels to represent user-provided metadata.", |
3079 | | -"type": "object" |
3080 | | -}, |
3081 | | -"metadata": { |
3082 | | -"description": "Optional. Configures whether all, none or a subset of metadata fields should be added to the reported VPC flow logs. Default value is INCLUDE_ALL_METADATA.", |
3083 | | -"enum": [ |
3084 | | -"METADATA_UNSPECIFIED", |
3085 | | -"INCLUDE_ALL_METADATA", |
3086 | | -"EXCLUDE_ALL_METADATA", |
3087 | | -"CUSTOM_METADATA" |
3088 | | -], |
3089 | | -"enumDescriptions": [ |
3090 | | -"If not specified, will default to INCLUDE_ALL_METADATA.", |
3091 | | -"Include all metadata fields.", |
3092 | | -"Exclude all metadata fields.", |
3093 | | -"Include only custom fields (specified in metadata_fields)." |
3094 | | -], |
3095 | | -"type": "string" |
3096 | | -}, |
3097 | | -"metadataFields": { |
3098 | | -"description": "Optional. Custom metadata fields to include in the reported VPC flow logs. Can only be specified if \"metadata\" was set to CUSTOM_METADATA.", |
3099 | | -"items": { |
3100 | | -"type": "string" |
3101 | | -}, |
3102 | | -"type": "array" |
3103 | | -}, |
3104 | | -"name": { |
3105 | | -"description": "Identifier. Unique name of the configuration using the form: `projects/{project_id}/locations/global/vpcFlowLogs/{vpc_flow_log}`", |
3106 | | -"type": "string" |
3107 | | -}, |
3108 | | -"network": { |
3109 | | -"description": "Traffic will be logged from VMs, VPN tunnels and Interconnect Attachments within the network. Format: projects/{project_id}/networks/{name}", |
3110 | | -"type": "string" |
3111 | | -}, |
3112 | | -"state": { |
3113 | | -"description": "Optional. The state of the VPC Flow Log. Default value is ENABLED.", |
3114 | | -"enum": [ |
3115 | | -"STATE_UNSPECIFIED", |
3116 | | -"ENABLED", |
3117 | | -"DISABLED" |
3118 | | -], |
3119 | | -"enumDescriptions": [ |
3120 | | -"If not specified, will default to ENABLED.", |
3121 | | -"When ENABLED, this configuration will generate logs.", |
3122 | | -"When DISABLED, this configuration will not generate logs." |
3123 | | -], |
3124 | | -"type": "string" |
3125 | | -}, |
3126 | | -"subnet": { |
3127 | | -"description": "Traffic will be logged from VMs within the subnetwork. Format: projects/{project_id}/locations/{region}/subnetworks/{name}", |
3128 | | -"type": "string" |
3129 | | -}, |
3130 | | -"updateTime": { |
3131 | | -"description": "Output only. The time the config was updated.", |
3132 | | -"format": "google-datetime", |
3133 | | -"readOnly": true, |
3134 | | -"type": "string" |
3135 | | -}, |
3136 | | -"vpnTunnel": { |
3137 | | -"description": "Traffic will be logged from the VPN Tunnel. Format: projects/{project_id}/locations/{region}/vpnTunnels/{name}", |
3138 | | -"type": "string" |
3139 | | -} |
3140 | | -}, |
3141 | | -"type": "object" |
3142 | | -}, |
3143 | 2833 | "VpnGatewayInfo": { |
3144 | 2834 | "description": "For display only. Metadata associated with a Compute Engine VPN gateway.", |
3145 | 2835 | "id": "VpnGatewayInfo", |
|
0 commit comments