github.com/cloudwan/edgelq-sdk@v1.15.4/monitoring/proto/v3/monitored_resource_descriptor_custom.proto (about) 1 syntax = "proto3"; 2 3 package ntt.monitoring.v3; 4 5 import "edgelq-sdk/monitoring/proto/v3/monitored_resource_descriptor.proto"; 6 import "google/protobuf/field_mask.proto"; 7 import "goten-sdk/types/view.proto"; 8 9 option go_package = "github.com/cloudwan/edgelq-sdk/monitoring/client/v3/monitored_resource_descriptor;monitored_resource_descriptor_client"; 10 option java_multiple_files = false; 11 option java_outer_classname = "MonitoredResourceDescriptorCustomProto"; 12 option java_package = "com.ntt.monitoring.pb.v3"; 13 14 // Request message for method 15 // [GetMonitoredResourceDescriptor][ntt.monitoring.v3.GetMonitoredResourceDescriptor] 16 message GetMonitoredResourceDescriptorRequest { 17 // The monitored resource descriptor to get. The format is 18 // `"monitoredResourceDescriptors/{resource_type}"`. 19 // The `{resource_type}` is a predefined type, such as 20 // `cloudsql_database`. 21 string name = 3; 22 23 // A list of extra fields to be obtained for each response item on top of 24 // fields defined by request field view 25 google.protobuf.FieldMask field_mask = 6; 26 27 // View defines list of standard response fields present in response items. 28 // Additional fields can be amended by request field field_mask 29 goten.types.View view = 7; 30 } 31 32 // Request message for method 33 // [ListMonitoredResourceDescriptors][ntt.monitoring.v3.ListMonitoredResourceDescriptors] 34 message ListMonitoredResourceDescriptorsRequest { 35 // An optional [filter](/monitoring/api/v3/filters) describing 36 // the descriptors to be returned. The filter can reference 37 // the descriptor's type and labels. For example, the 38 // following filter returns only Google Compute Engine descriptors 39 // that have an `id` label: 40 // 41 // resource.type = starts_with("gce_") AND resource.label:id 42 string filter = 2; 43 44 // A positive number that is the maximum number of results to return. 45 int32 page_size = 3; 46 47 string order_by = 666; 48 49 // If this field is not empty then it must contain the `nextPageToken` value 50 // returned by a previous call to this method. Using this field causes the 51 // method to return additional results from the previous method call. 52 string page_token = 4; 53 54 // A list of extra fields to be obtained for each response item on top of 55 // fields defined by request field view 56 google.protobuf.FieldMask field_mask = 6; 57 58 // View defines list of standard response fields present in response items. 59 // Additional fields can be amended by request field field_mask 60 goten.types.View view = 7; 61 62 // Indicates if list response should contain total count and offset (fields 63 // current_offset and total_results_count). 64 bool include_paging_info = 8; 65 } 66 67 // Response message for method 68 // [ListMonitoredResourceDescriptors][ntt.monitoring.v3.ListMonitoredResourceDescriptors] 69 message ListMonitoredResourceDescriptorsResponse { 70 // The monitored resource descriptors that are available to this project 71 // and that match `filter`, if present. 72 repeated MonitoredResourceDescriptor monitored_resource_descriptors = 1; 73 74 // If there are more results than have been returned, then this field is set 75 // to a non-empty value. To see the additional results, 76 // use that value as `pageToken` in the next call to this method. 77 string next_page_token = 2; 78 79 string prev_page_token = 666; 80 81 // Current offset from the first page (0 if no page tokens were given or 82 // paging info was not requested). Page index can be computed from offset and 83 // limit provided in a request. 84 int32 current_offset = 5; 85 86 // Number of total MonitoresResourceDescriptors across all pages or 0, if 87 // there are no items or paging info was not requested. 88 int32 total_results_count = 6; 89 }