pub struct ResourceSearchResult {Show 29 fields
pub name: String,
pub asset_type: String,
pub project: String,
pub folders: RepeatedField<String>,
pub organization: String,
pub display_name: String,
pub description: String,
pub location: String,
pub labels: HashMap<String, String>,
pub network_tags: RepeatedField<String>,
pub kms_key: String,
pub kms_keys: RepeatedField<String>,
pub create_time: SingularPtrField<Timestamp>,
pub update_time: SingularPtrField<Timestamp>,
pub state: String,
pub additional_attributes: SingularPtrField<Struct>,
pub parent_full_resource_name: String,
pub versioned_resources: RepeatedField<VersionedResource>,
pub attached_resources: RepeatedField<AttachedResource>,
pub relationships: HashMap<String, RelatedResources>,
pub tag_keys: RepeatedField<String>,
pub tag_values: RepeatedField<String>,
pub tag_value_ids: RepeatedField<String>,
pub tags: RepeatedField<Tag>,
pub effective_tags: RepeatedField<EffectiveTagDetails>,
pub parent_asset_type: String,
pub scc_security_marks: HashMap<String, String>,
pub unknown_fields: UnknownFields,
pub cached_size: CachedSize,
}Fields§
§name: String§asset_type: String§project: String§folders: RepeatedField<String>§organization: String§display_name: String§description: String§location: String§labels: HashMap<String, String>§kms_key: String§kms_keys: RepeatedField<String>§create_time: SingularPtrField<Timestamp>§update_time: SingularPtrField<Timestamp>§state: String§additional_attributes: SingularPtrField<Struct>§parent_full_resource_name: String§versioned_resources: RepeatedField<VersionedResource>§attached_resources: RepeatedField<AttachedResource>§relationships: HashMap<String, RelatedResources>§tag_keys: RepeatedField<String>§tag_values: RepeatedField<String>§tag_value_ids: RepeatedField<String>§parent_asset_type: String§scc_security_marks: HashMap<String, String>§unknown_fields: UnknownFields§cached_size: CachedSizeImplementations§
Source§impl ResourceSearchResult
impl ResourceSearchResult
pub fn new() -> ResourceSearchResult
pub fn get_name(&self) -> &str
pub fn clear_name(&mut self)
pub fn set_name(&mut self, v: String)
pub fn mut_name(&mut self) -> &mut String
pub fn take_name(&mut self) -> String
pub fn get_asset_type(&self) -> &str
pub fn clear_asset_type(&mut self)
pub fn set_asset_type(&mut self, v: String)
pub fn mut_asset_type(&mut self) -> &mut String
pub fn take_asset_type(&mut self) -> String
pub fn get_project(&self) -> &str
pub fn clear_project(&mut self)
pub fn set_project(&mut self, v: String)
pub fn mut_project(&mut self) -> &mut String
pub fn take_project(&mut self) -> String
pub fn get_folders(&self) -> &[String]
pub fn clear_folders(&mut self)
pub fn set_folders(&mut self, v: RepeatedField<String>)
pub fn mut_folders(&mut self) -> &mut RepeatedField<String>
pub fn take_folders(&mut self) -> RepeatedField<String>
pub fn get_organization(&self) -> &str
pub fn clear_organization(&mut self)
pub fn set_organization(&mut self, v: String)
pub fn mut_organization(&mut self) -> &mut String
pub fn take_organization(&mut self) -> String
pub fn get_display_name(&self) -> &str
pub fn clear_display_name(&mut self)
pub fn set_display_name(&mut self, v: String)
pub fn mut_display_name(&mut self) -> &mut String
pub fn take_display_name(&mut self) -> String
pub fn get_description(&self) -> &str
pub fn clear_description(&mut self)
pub fn set_description(&mut self, v: String)
pub fn mut_description(&mut self) -> &mut String
pub fn take_description(&mut self) -> String
pub fn get_location(&self) -> &str
pub fn clear_location(&mut self)
pub fn set_location(&mut self, v: String)
pub fn mut_location(&mut self) -> &mut String
pub fn take_location(&mut self) -> String
pub fn get_labels(&self) -> &HashMap<String, String>
pub fn clear_labels(&mut self)
pub fn set_labels(&mut self, v: HashMap<String, String>)
pub fn mut_labels(&mut self) -> &mut HashMap<String, String>
pub fn take_labels(&mut self) -> HashMap<String, String>
pub fn get_kms_key(&self) -> &str
pub fn clear_kms_key(&mut self)
pub fn set_kms_key(&mut self, v: String)
pub fn mut_kms_key(&mut self) -> &mut String
pub fn take_kms_key(&mut self) -> String
pub fn get_kms_keys(&self) -> &[String]
pub fn clear_kms_keys(&mut self)
pub fn set_kms_keys(&mut self, v: RepeatedField<String>)
pub fn mut_kms_keys(&mut self) -> &mut RepeatedField<String>
pub fn take_kms_keys(&mut self) -> RepeatedField<String>
pub fn get_create_time(&self) -> &Timestamp
pub fn clear_create_time(&mut self)
pub fn has_create_time(&self) -> bool
pub fn set_create_time(&mut self, v: Timestamp)
pub fn mut_create_time(&mut self) -> &mut Timestamp
pub fn take_create_time(&mut self) -> Timestamp
pub fn get_update_time(&self) -> &Timestamp
pub fn clear_update_time(&mut self)
pub fn has_update_time(&self) -> bool
pub fn set_update_time(&mut self, v: Timestamp)
pub fn mut_update_time(&mut self) -> &mut Timestamp
pub fn take_update_time(&mut self) -> Timestamp
pub fn get_state(&self) -> &str
pub fn clear_state(&mut self)
pub fn set_state(&mut self, v: String)
pub fn mut_state(&mut self) -> &mut String
pub fn take_state(&mut self) -> String
pub fn get_additional_attributes(&self) -> &Struct
pub fn clear_additional_attributes(&mut self)
pub fn has_additional_attributes(&self) -> bool
pub fn set_additional_attributes(&mut self, v: Struct)
pub fn mut_additional_attributes(&mut self) -> &mut Struct
pub fn take_additional_attributes(&mut self) -> Struct
pub fn get_parent_full_resource_name(&self) -> &str
pub fn clear_parent_full_resource_name(&mut self)
pub fn set_parent_full_resource_name(&mut self, v: String)
pub fn mut_parent_full_resource_name(&mut self) -> &mut String
pub fn take_parent_full_resource_name(&mut self) -> String
pub fn get_versioned_resources(&self) -> &[VersionedResource]
pub fn clear_versioned_resources(&mut self)
pub fn set_versioned_resources(&mut self, v: RepeatedField<VersionedResource>)
pub fn mut_versioned_resources( &mut self, ) -> &mut RepeatedField<VersionedResource>
pub fn take_versioned_resources(&mut self) -> RepeatedField<VersionedResource>
pub fn get_attached_resources(&self) -> &[AttachedResource]
pub fn clear_attached_resources(&mut self)
pub fn set_attached_resources(&mut self, v: RepeatedField<AttachedResource>)
pub fn mut_attached_resources(&mut self) -> &mut RepeatedField<AttachedResource>
pub fn take_attached_resources(&mut self) -> RepeatedField<AttachedResource>
pub fn get_relationships(&self) -> &HashMap<String, RelatedResources>
pub fn clear_relationships(&mut self)
pub fn set_relationships(&mut self, v: HashMap<String, RelatedResources>)
pub fn mut_relationships(&mut self) -> &mut HashMap<String, RelatedResources>
pub fn take_relationships(&mut self) -> HashMap<String, RelatedResources>
pub fn get_tag_keys(&self) -> &[String]
pub fn clear_tag_keys(&mut self)
pub fn set_tag_keys(&mut self, v: RepeatedField<String>)
pub fn mut_tag_keys(&mut self) -> &mut RepeatedField<String>
pub fn take_tag_keys(&mut self) -> RepeatedField<String>
pub fn get_tag_values(&self) -> &[String]
pub fn clear_tag_values(&mut self)
pub fn set_tag_values(&mut self, v: RepeatedField<String>)
pub fn mut_tag_values(&mut self) -> &mut RepeatedField<String>
pub fn take_tag_values(&mut self) -> RepeatedField<String>
pub fn get_tag_value_ids(&self) -> &[String]
pub fn clear_tag_value_ids(&mut self)
pub fn set_tag_value_ids(&mut self, v: RepeatedField<String>)
pub fn mut_tag_value_ids(&mut self) -> &mut RepeatedField<String>
pub fn take_tag_value_ids(&mut self) -> RepeatedField<String>
pub fn get_parent_asset_type(&self) -> &str
pub fn clear_parent_asset_type(&mut self)
pub fn set_parent_asset_type(&mut self, v: String)
pub fn mut_parent_asset_type(&mut self) -> &mut String
pub fn take_parent_asset_type(&mut self) -> String
pub fn get_scc_security_marks(&self) -> &HashMap<String, String>
pub fn clear_scc_security_marks(&mut self)
pub fn set_scc_security_marks(&mut self, v: HashMap<String, String>)
pub fn mut_scc_security_marks(&mut self) -> &mut HashMap<String, String>
pub fn take_scc_security_marks(&mut self) -> HashMap<String, String>
Trait Implementations§
Source§impl Clear for ResourceSearchResult
impl Clear for ResourceSearchResult
Source§impl Clone for ResourceSearchResult
impl Clone for ResourceSearchResult
Source§fn clone(&self) -> ResourceSearchResult
fn clone(&self) -> ResourceSearchResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ResourceSearchResult
impl Debug for ResourceSearchResult
Source§impl<'a> Default for &'a ResourceSearchResult
impl<'a> Default for &'a ResourceSearchResult
Source§fn default() -> &'a ResourceSearchResult
fn default() -> &'a ResourceSearchResult
Returns the “default value” for a type. Read more
Source§impl Default for ResourceSearchResult
impl Default for ResourceSearchResult
Source§fn default() -> ResourceSearchResult
fn default() -> ResourceSearchResult
Returns the “default value” for a type. Read more
Source§impl Message for ResourceSearchResult
impl Message for ResourceSearchResult
Source§fn is_initialized(&self) -> bool
fn is_initialized(&self) -> bool
True iff all required fields are initialized.
Always returns
true for protobuf 3.Source§fn merge_from(&mut self, is: &mut CodedInputStream<'_>) -> ProtobufResult<()>
fn merge_from(&mut self, is: &mut CodedInputStream<'_>) -> ProtobufResult<()>
Update this message object with fields read from given stream.
Source§fn compute_size(&self) -> u32
fn compute_size(&self) -> u32
Compute and cache size of this message and all nested messages
Source§fn write_to_with_cached_sizes(
&self,
os: &mut CodedOutputStream<'_>,
) -> ProtobufResult<()>
fn write_to_with_cached_sizes( &self, os: &mut CodedOutputStream<'_>, ) -> ProtobufResult<()>
Write message to the stream. Read more
Source§fn get_cached_size(&self) -> u32
fn get_cached_size(&self) -> u32
Get size previously computed by
compute_size.Source§fn get_unknown_fields(&self) -> &UnknownFields
fn get_unknown_fields(&self) -> &UnknownFields
Get a reference to unknown fields.
Source§fn mut_unknown_fields(&mut self) -> &mut UnknownFields
fn mut_unknown_fields(&mut self) -> &mut UnknownFields
Get a mutable reference to unknown fields.
Source§fn as_any_mut(&mut self) -> &mut dyn Any
fn as_any_mut(&mut self) -> &mut dyn Any
View self as mutable
Any.Source§fn descriptor(&self) -> &'static MessageDescriptor
fn descriptor(&self) -> &'static MessageDescriptor
Message descriptor for this message, used for reflection.
Source§fn new() -> ResourceSearchResult
fn new() -> ResourceSearchResult
Create an empty message object. Read more
Source§fn descriptor_static() -> &'static MessageDescriptor
fn descriptor_static() -> &'static MessageDescriptor
Get message descriptor for message type. Read more
Source§fn default_instance() -> &'static ResourceSearchResult
fn default_instance() -> &'static ResourceSearchResult
Return a pointer to default immutable message with static lifetime. Read more
Source§fn parse_from(is: &mut CodedInputStream<'_>) -> Result<Self, ProtobufError>where
Self: Sized,
fn parse_from(is: &mut CodedInputStream<'_>) -> Result<Self, ProtobufError>where
Self: Sized,
Parse message from stream.
Source§fn write_to(&self, os: &mut CodedOutputStream<'_>) -> Result<(), ProtobufError>
fn write_to(&self, os: &mut CodedOutputStream<'_>) -> Result<(), ProtobufError>
Write the message to the stream. Read more
Source§fn write_length_delimited_to(
&self,
os: &mut CodedOutputStream<'_>,
) -> Result<(), ProtobufError>
fn write_length_delimited_to( &self, os: &mut CodedOutputStream<'_>, ) -> Result<(), ProtobufError>
Write the message to the stream prepending the message with message length
encoded as varint.
Source§fn write_length_delimited_to_vec(
&self,
vec: &mut Vec<u8>,
) -> Result<(), ProtobufError>
fn write_length_delimited_to_vec( &self, vec: &mut Vec<u8>, ) -> Result<(), ProtobufError>
Write the message to the vec, prepend the message with message length
encoded as varint.
Source§fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>
fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>
Update this message object with fields read from given stream.
Source§fn parse_from_reader(reader: &mut dyn Read) -> Result<Self, ProtobufError>where
Self: Sized,
fn parse_from_reader(reader: &mut dyn Read) -> Result<Self, ProtobufError>where
Self: Sized,
Parse message from reader.
Parse stops on EOF or when error encountered.
Source§fn parse_from_bytes(bytes: &[u8]) -> Result<Self, ProtobufError>where
Self: Sized,
fn parse_from_bytes(bytes: &[u8]) -> Result<Self, ProtobufError>where
Self: Sized,
Parse message from byte array.
Source§fn check_initialized(&self) -> Result<(), ProtobufError>
fn check_initialized(&self) -> Result<(), ProtobufError>
Check if all required fields of this object are initialized.
Source§fn write_to_writer(&self, w: &mut dyn Write) -> Result<(), ProtobufError>
fn write_to_writer(&self, w: &mut dyn Write) -> Result<(), ProtobufError>
Write the message to the writer.
Source§fn write_to_vec(&self, v: &mut Vec<u8>) -> Result<(), ProtobufError>
fn write_to_vec(&self, v: &mut Vec<u8>) -> Result<(), ProtobufError>
Write the message to bytes vec.
Source§fn write_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
fn write_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
Write the message to bytes vec.
Source§fn write_length_delimited_to_writer(
&self,
w: &mut dyn Write,
) -> Result<(), ProtobufError>
fn write_length_delimited_to_writer( &self, w: &mut dyn Write, ) -> Result<(), ProtobufError>
Write the message to the writer, prepend the message with message length
encoded as varint.
Source§fn write_length_delimited_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
fn write_length_delimited_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
Write the message to the bytes vec, prepend the message with message length
encoded as varint.
Source§impl PartialEq for ResourceSearchResult
impl PartialEq for ResourceSearchResult
Source§impl ProtobufValue for ResourceSearchResult
impl ProtobufValue for ResourceSearchResult
Source§fn as_ref(&self) -> ReflectValueRef<'_>
fn as_ref(&self) -> ReflectValueRef<'_>
As ref
Source§fn is_non_zero(&self) -> bool
fn is_non_zero(&self) -> bool
Is value non-zero?
Source§fn as_ref_copy(&self) -> ReflectValueRef<'static>
fn as_ref_copy(&self) -> ReflectValueRef<'static>
impl StructuralPartialEq for ResourceSearchResult
Auto Trait Implementations§
impl !Freeze for ResourceSearchResult
impl RefUnwindSafe for ResourceSearchResult
impl Send for ResourceSearchResult
impl Sync for ResourceSearchResult
impl Unpin for ResourceSearchResult
impl UnwindSafe for ResourceSearchResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more