def sample_list_buckets():
    # Create a client
    client = logging_v2.ConfigServiceV2Client()

    # Initialize request argument(s)
    request = logging_v2.ListBucketsRequest(parent="parent_value", )

    # Make the request
    page_result = client.list_buckets(request=request)

    # Handle the response
    for response in page_result:
        print(response)
def sample_list_buckets():
    """Snippet for list_buckets"""

    # Create a client
    client = logging_v2.ConfigServiceV2Client()

    # Initialize request argument(s)
    request = logging_v2.ListBucketsRequest()

    # Make the request
    page_result = client.list_buckets(request=request)
    for response in page_result:
        print("{}".format(response))